mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-11 23:40:52 +01:00
Fix bug
This commit is contained in:
parent
b90d473ae5
commit
3ef002e14d
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
<p class="fetching" v-if="fetching">{{ $t('fetching') }}<mk-ellipsis/></p>
|
<p class="fetching" v-if="fetching">{{ $t('fetching') }}<mk-ellipsis/></p>
|
||||||
<h1 v-if="!fetching">{{ announcements.length == 0 ? $t('no-broadcasts') : announcements[i].title }}</h1>
|
<h1 v-if="!fetching">{{ announcements.length == 0 ? $t('no-broadcasts') : announcements[i].title }}</h1>
|
||||||
<p v-if="!fetching">
|
<p v-if="!fetching">
|
||||||
<mfm v-if="announcements.length != 0" :text="announcements[i].text"/>
|
<mfm v-if="announcements.length != 0" :text="announcements[i].text" :key="i"/>
|
||||||
<img v-if="announcements.length != 0 && announcements[i].image" :src="announcements[i].image" alt="" style="display: block; max-height: 130px; max-width: 100%;"/>
|
<img v-if="announcements.length != 0 && announcements[i].image" :src="announcements[i].image" alt="" style="display: block; max-height: 130px; max-width: 100%;"/>
|
||||||
<template v-if="announcements.length == 0">{{ $t('have-a-nice-day') }}</template>
|
<template v-if="announcements.length == 0">{{ $t('have-a-nice-day') }}</template>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue