mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe
synced 2025-05-04 12:49:31 +08:00
Handle explicit mention changes in status updates
This commit is contained in:
parent
a0eb53f73b
commit
7248fbe4b6
1 changed files with 7 additions and 0 deletions
|
@ -137,6 +137,13 @@ const StatusContent = {
|
|||
const translateTo = this.$store.getters.mergedConfig.translationLanguage || this.$store.state.instance.interfaceLanguage
|
||||
this.$store.dispatch('translateStatus', { id: this.status.id, language: translateTo, from: this.translateFrom })
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'status.raw_html' (newVal, oldVal) {
|
||||
if (newVal !== oldVal) {
|
||||
this.parseReadyDone = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue