forked from srxl/akkoma-fe
linting
This commit is contained in:
parent
5fdc4a1904
commit
f0641d05df
3 changed files with 16 additions and 7 deletions
|
@ -118,7 +118,10 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<Flash v-if="type === 'flash'" :src="attachment.large_thumb_url || attachment.url" />
|
||||
<Flash
|
||||
v-if="type === 'flash'"
|
||||
:src="attachment.large_thumb_url || attachment.url"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { library } from '@fortawesome/fontawesome-svg-core'
|
|||
import { faStop } from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(
|
||||
faStop,
|
||||
faStop
|
||||
)
|
||||
|
||||
const Flash = {
|
||||
|
|
|
@ -8,13 +8,19 @@
|
|||
/>
|
||||
<button
|
||||
v-if="player === false || player === 'hidden'"
|
||||
@click="openPlayer"
|
||||
class="button-unstyled placeholder"
|
||||
@click="openPlayer"
|
||||
>
|
||||
<span v-if="player === 'hidden'" class="label">
|
||||
<span
|
||||
v-if="player === 'hidden'"
|
||||
class="label"
|
||||
>
|
||||
{{ $t('general.loading') }}
|
||||
</span>
|
||||
<span v-else class="label">
|
||||
<span
|
||||
v-else
|
||||
class="label"
|
||||
>
|
||||
{{ $t('general.flash_content') }}
|
||||
</span>
|
||||
</button>
|
||||
|
@ -24,8 +30,8 @@
|
|||
@click="closePlayer"
|
||||
>
|
||||
<FAIcon icon="stop" />
|
||||
</button>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./flash.js"></script>
|
||||
|
|
Loading…
Reference in a new issue