Merge branch 'fix/replyLanguage' into 'develop'
fix: Don't set language to null when reply/renote lang is null/undefined Co-authored-by: Lhcfl <Lhcfl@outlook.com> See merge request firefish/firefish!10727
This commit is contained in:
commit
6f1c29cf05
1 changed files with 4 additions and 4 deletions
|
@ -1279,11 +1279,11 @@ onMounted(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Inherit language settings when quoting or replying
|
// Inherit language settings when quoting or replying
|
||||||
if (props.renote) {
|
if (props.renote?.lang) {
|
||||||
language.value = props.renote.lang ?? null;
|
language.value = props.renote.lang;
|
||||||
}
|
}
|
||||||
if (props.reply) {
|
if (props.reply?.lang) {
|
||||||
language.value = props.reply.lang ?? null;
|
language.value = props.reply.lang;
|
||||||
}
|
}
|
||||||
|
|
||||||
nextTick(() => watchForDraft());
|
nextTick(() => watchForDraft());
|
||||||
|
|
Loading…
Reference in a new issue