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>
|
||||||
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import { faStop } from '@fortawesome/free-solid-svg-icons'
|
import { faStop } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faStop,
|
faStop
|
||||||
)
|
)
|
||||||
|
|
||||||
const Flash = {
|
const Flash = {
|
||||||
|
|
|
@ -8,13 +8,19 @@
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
v-if="player === false || player === 'hidden'"
|
v-if="player === false || player === 'hidden'"
|
||||||
@click="openPlayer"
|
|
||||||
class="button-unstyled placeholder"
|
class="button-unstyled placeholder"
|
||||||
|
@click="openPlayer"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
v-if="player === 'hidden'"
|
||||||
|
class="label"
|
||||||
>
|
>
|
||||||
<span v-if="player === 'hidden'" class="label">
|
|
||||||
{{ $t('general.loading') }}
|
{{ $t('general.loading') }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else class="label">
|
<span
|
||||||
|
v-else
|
||||||
|
class="label"
|
||||||
|
>
|
||||||
{{ $t('general.flash_content') }}
|
{{ $t('general.flash_content') }}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -25,7 +31,7 @@
|
||||||
>
|
>
|
||||||
<FAIcon icon="stop" />
|
<FAIcon icon="stop" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script src="./flash.js"></script>
|
<script src="./flash.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue