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