Browse Source

Merge pull request #2213 from doccano/fix/2212

Fix typo
pull/2216/head
Hiroki Nakayama 1 year ago
committed by GitHub
parent
commit
ce9fa66184
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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