aboutsummaryrefslogtreecommitdiff
path: root/src/components/gallery/gallery.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-03-06 19:35:05 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-03-06 19:35:05 +0000
commit7e1e8ea42925dffbce1d75e463f38a2c051c764d (patch)
treed39f5d74f28c9d8c9342b010553372fccd5335de /src/components/gallery/gallery.vue
parent1e41c2b99e7c6200eccb485ad1c7b2508ea5aff9 (diff)
parent7a8c975f616f745b57a8426e40d7573d08b8416d (diff)
Merge branch 'from/develop/tusooa/fix-lint-2' into 'develop'
Lint See merge request pleroma/pleroma-fe!1442
Diffstat (limited to 'src/components/gallery/gallery.vue')
-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"