From c9e4b6e7a10b614bcf0cc0b91b7540b7b4fdcca2 Mon Sep 17 00:00:00 2001 From: Ilja Date: Sat, 26 Feb 2022 02:13:43 +0100 Subject: [PATCH] Make linter happy `npm run lint` gave warnings for two files, fixed them with `./node_modules/.bin/eslint --fix $FILENAME` --- src/components/attachment/attachment.vue | 19 +++++++++++-------- src/components/gallery/gallery.vue | 4 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 5917375984..c4399f3066 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -81,56 +81,56 @@ @@ -160,7 +160,10 @@ :href="attachment.url" target="_blank" > - +

{{ localDescription }}

diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index f9cad8a9c1..f2e1b5ce51 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -26,8 +26,8 @@ :size="size" :editable="editable" :remove="removeAttachment" - :shiftUp="!(attachmentIndex === 0 && rowIndex === 0) && shiftUpAttachment" - :shiftDn="!(attachmentIndex === row.items.length - 1 && rowIndex === rows.length - 1) && shiftDnAttachment" + :shift-up="!(attachmentIndex === 0 && rowIndex === 0) && shiftUpAttachment" + :shift-dn="!(attachmentIndex === row.items.length - 1 && rowIndex === rows.length - 1) && shiftDnAttachment" :edit="editAttachment" :description="descriptions && descriptions[attachment.id]" :hide-description="size === 'small' || tooManyAttachments && hidingLong"