fix external link not working

This commit is contained in:
Henry Jameson 2025-01-18 19:31:20 +02:00
commit ee8008ef93
3 changed files with 5 additions and 4 deletions

View file

@ -112,11 +112,12 @@ export default {
this.$store.dispatch('reactWithEmoji', { id: this.status.id, emoji })
}
},
doActionWrap (button) {
doActionWrap (button, close) {
if (button.name === 'emoji') {
this.$refs.picker.showPicker()
} else {
this.getComponent(button) === 'button' && this.doAction(button)
close()
}
}
}