From 910bb171b19d314b2671072f18540770bb92bac9 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Sun, 11 Jun 2023 19:25:53 +0900 Subject: [PATCH] Fix typo --- frontend/pages/projects/_id/dataset/_example_id/edit.vue | 2 +- frontend/pages/projects/_id/labels/_label_id/edit.vue | 2 +- frontend/pages/projects/_id/labels/add.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/pages/projects/_id/dataset/_example_id/edit.vue b/frontend/pages/projects/_id/dataset/_example_id/edit.vue index 2c1b7a12..740ed6e1 100644 --- a/frontend/pages/projects/_id/dataset/_example_id/edit.vue +++ b/frontend/pages/projects/_id/dataset/_example_id/edit.vue @@ -31,7 +31,7 @@ export default Vue.extend({ validate({ params, store }) { if (/^\d+$/.test(params.id) && /^\d+$/.test(params.example_id)) { - const project = store.getters['project/project'] as Project + const project = store.getters['projects/project'] as Project return project.isTextProject } return false diff --git a/frontend/pages/projects/_id/labels/_label_id/edit.vue b/frontend/pages/projects/_id/labels/_label_id/edit.vue index dcc761b4..519de2b9 100644 --- a/frontend/pages/projects/_id/labels/_label_id/edit.vue +++ b/frontend/pages/projects/_id/labels/_label_id/edit.vue @@ -26,7 +26,7 @@ export default Vue.extend({ return false } if (/^\d+$/.test(params.id)) { - const project = store.getters['project/project'] as Project + const project = store.getters['projects/project'] as Project return project.canDefineLabel } return false diff --git a/frontend/pages/projects/_id/labels/add.vue b/frontend/pages/projects/_id/labels/add.vue index 7b1748a3..d676a4e8 100644 --- a/frontend/pages/projects/_id/labels/add.vue +++ b/frontend/pages/projects/_id/labels/add.vue @@ -36,7 +36,7 @@ export default Vue.extend({ return false } if (/^\d+$/.test(params.id)) { - const project = store.getters['project/project'] as Project + const project = store.getters['projects/project'] as Project return project.canDefineLabel } return false