aboutsummaryrefslogtreecommitdiff
path: root/src/components/gallery
diff options
context:
space:
mode:
authorIlja <ilja@ilja.space>2022-02-26 02:13:43 +0100
committerIlja <ilja@ilja.space>2022-02-26 02:13:43 +0100
commitc9e4b6e7a10b614bcf0cc0b91b7540b7b4fdcca2 (patch)
tree933354c85bdc2616d650bf64e3f5c3d2f11e5ec1 /src/components/gallery
parentd0c4ad22cd5a93f69c689f3c8c75546c35861740 (diff)
Make linter happy
`npm run lint` gave warnings for two files, fixed them with `./node_modules/.bin/eslint --fix $FILENAME`
Diffstat (limited to 'src/components/gallery')
-rw-r--r--src/components/gallery/gallery.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index f9cad8a9..f2e1b5ce 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"