Browse Source
Merge pull request #1681 from doccano/fix/labelCreation
[Bugfix] Update label types after save and add another
pull/1682/head
Hiroki Nakayama
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
frontend/pages/projects/_id/labels/add.vue
|
|
@ -99,6 +99,7 @@ export default Vue.extend({ |
|
|
|
async saveAndAnother() { |
|
|
|
await this.service.create(this.projectId, this.editedItem) |
|
|
|
this.editedItem = Object.assign({}, this.defaultItem) |
|
|
|
this.items = await this.service.list(this.projectId) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|