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
|
<Mfm
|
||||||
v-if="text"
|
v-if="text"
|
||||||
:text="text"
|
:text="text"
|
||||||
|
:advancedMfm="false"
|
||||||
></Mfm>
|
></Mfm>
|
||||||
<slot v-else name="value"></slot>
|
<slot v-else name="value"></slot>
|
||||||
<button
|
<button
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
class="mfm-object"
|
class="mfm-object"
|
||||||
:class="{
|
:class="{
|
||||||
nowrap,
|
nowrap,
|
||||||
advancedMfm: defaultStore.state.advancedMfm || advancedMfm,
|
advancedMfm: ($i && defaultStore.state.advancedMfm) || advancedMfm,
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -18,6 +18,7 @@
|
||||||
import {} from "vue";
|
import {} from "vue";
|
||||||
import MfmCore from "@/components/mfm";
|
import MfmCore from "@/components/mfm";
|
||||||
import { defaultStore } from "@/store";
|
import { defaultStore } from "@/store";
|
||||||
|
import { $i } from "@/account";
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
class="desc"
|
class="desc"
|
||||||
:class="{ collapsed: isLong && collapsed }"
|
:class="{ collapsed: isLong && collapsed }"
|
||||||
:text="meta.description || i18n.ts.introMisskey"
|
:text="meta.description || i18n.ts.introMisskey"
|
||||||
|
:advancedMfm="false"
|
||||||
></Mfm>
|
></Mfm>
|
||||||
<XShowMoreButton
|
<XShowMoreButton
|
||||||
v-if="isLong"
|
v-if="isLong"
|
||||||
|
|
Loading…
Reference in a new issue