Don't want animated MFM playing when logged out
This commit is contained in:
parent
c09b1d3847
commit
c0015adad4
3 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
<Mfm
|
||||
v-if="text"
|
||||
:text="text"
|
||||
:advancedMfm="false"
|
||||
></Mfm>
|
||||
<slot v-else name="value"></slot>
|
||||
<button
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
class="mfm-object"
|
||||
:class="{
|
||||
nowrap,
|
||||
advancedMfm: defaultStore.state.advancedMfm || advancedMfm,
|
||||
advancedMfm: ($i && defaultStore.state.advancedMfm) || advancedMfm,
|
||||
}"
|
||||
/>
|
||||
</template>
|
||||
|
@ -18,6 +18,7 @@
|
|||
import {} from "vue";
|
||||
import MfmCore from "@/components/mfm";
|
||||
import { defaultStore } from "@/store";
|
||||
import { $i } from "@/account";
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
class="desc"
|
||||
:class="{ collapsed: isLong && collapsed }"
|
||||
:text="meta.description || i18n.ts.introMisskey"
|
||||
:advancedMfm="false"
|
||||
></Mfm>
|
||||
<XShowMoreButton
|
||||
v-if="isLong"
|
||||
|
|
Loading…
Reference in a new issue