Skip to content

Commit

Permalink
Merge pull request #2213 from doccano/fix/2212
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
Hironsan committed Jun 11, 2023
2 parents 1c81e73 + 910bb17 commit ce9fa66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/pages/projects/_id/dataset/_example_id/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/projects/_id/labels/_label_id/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/projects/_id/labels/add.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce9fa66

Please sign in to comment.