Browse Source

Update cleanup method

pull/1583/head
Hironsan 3 years ago
parent
commit
88c5fd5095
1 changed files with 3 additions and 2 deletions
  1. 5
      frontend/components/tasks/sequenceLabeling/EntityEditor.vue

5
frontend/components/tasks/sequenceLabeling/EntityEditor.vue

@ -217,8 +217,9 @@ export default Vue.extend({
// Todo: a bit hacky. I want to fix this problem.
// https://github.com/vuetifyjs/vuetify/issues/10765
this.$nextTick(() => {
// @ts-ignore
this.$refs.autocomplete!.selectedItems = []
if (this.$refs.autocomplete) {
(this.$refs.autocomplete as any).selectedItems = []
}
})
},

Loading…
Cancel
Save