logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: f0641d05dffe627abd093c296a8cf9e5296b3098
parent 5fdc4a190462272f678ee313dee049493cf44f76
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 12 Apr 2021 00:07:28 +0300

linting

Diffstat:

Msrc/components/attachment/attachment.vue5++++-
Msrc/components/flash/flash.js2+-
Msrc/components/flash/flash.vue16+++++++++++-----
3 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue @@ -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> diff --git a/src/components/flash/flash.js b/src/components/flash/flash.js @@ -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 = { diff --git a/src/components/flash/flash.vue b/src/components/flash/flash.vue @@ -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>