diff --git a/src/reader/components/ReaderToken.vue b/src/reader/components/ReaderToken.vue index cffff9a..75a5650 100644 --- a/src/reader/components/ReaderToken.vue +++ b/src/reader/components/ReaderToken.vue @@ -32,7 +32,7 @@ props: ['token'], methods: { onSelect() { - if (this.token === this.selectedToken) { + if (this.selected) { this.$store.dispatch(CLEAR_NAMED_ENTITIES); this.$store.dispatch(`${MODULE_NS}/${SELECT_TOKEN}`, { token: null,