fix: style may be missing in mobile mode
This commit is contained in:
parent
e5e2eedfb4
commit
4e20fe589d
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
|
<MkLoading v-if="conversationLoading" />
|
||||||
<article
|
<article
|
||||||
v-if="!muted.muted || muted.what === 'reply'"
|
v-else-if="!muted.muted || muted.what === 'reply'"
|
||||||
:id="detailedView ? appearNote.id : undefined"
|
:id="detailedView ? appearNote.id : undefined"
|
||||||
ref="el"
|
ref="el"
|
||||||
v-size="{ max: [450, 500] }"
|
v-size="{ max: [450, 500] }"
|
||||||
|
@ -289,6 +290,7 @@ watch(conversation, updateReplies, {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (props.autoConversation) {
|
if (props.autoConversation) {
|
||||||
|
conversation.value = [];
|
||||||
if (note.value.repliesCount > 0 || note.value.renoteCount > 0) {
|
if (note.value.repliesCount > 0 || note.value.renoteCount > 0) {
|
||||||
conversationLoading.value = true;
|
conversationLoading.value = true;
|
||||||
os.api("notes/children", {
|
os.api("notes/children", {
|
||||||
|
@ -302,8 +304,6 @@ if (props.autoConversation) {
|
||||||
.concat(res.filter((n) => n.userId === note.value.userId));
|
.concat(res.filter((n) => n.userId === note.value.userId));
|
||||||
conversationLoading.value = false;
|
conversationLoading.value = false;
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
conversation.value = [];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue