Browse Source

Fix typo

pull/2213/head
Hironsan 1 year ago
parent
commit
910bb171b1
3 changed files with 3 additions and 3 deletions
  1. 2
      frontend/pages/projects/_id/dataset/_example_id/edit.vue
  2. 2
      frontend/pages/projects/_id/labels/_label_id/edit.vue
  3. 2
      frontend/pages/projects/_id/labels/add.vue

2
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

2
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

2
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

Loading…
Cancel
Save