diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-18 02:04:01 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-18 02:04:01 +0300 |
| commit | f15599e6e57477131ba5592e2874916ed1da06e2 (patch) | |
| tree | c93759edaf658cabbdc8c3974a00c4495b8e8ba7 /src/components/gallery/gallery.vue | |
| parent | 90345f158ff2eb12e619dbd7406f2fa81c379637 (diff) | |
gallery in post status form!
Diffstat (limited to 'src/components/gallery/gallery.vue')
| -rw-r--r-- | src/components/gallery/gallery.vue | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue index 8e08e514..cedf64d3 100644 --- a/src/components/gallery/gallery.vue +++ b/src/components/gallery/gallery.vue @@ -17,13 +17,18 @@ v-for="attachment in row.items" class="gallery-item" :key="attachment.id" - :set-media="setMedia" :nsfw="nsfw" :attachment="attachment" :allow-play="false" :size="size" - :natural-size-load="onNaturalSizeLoad.bind(null, attachment.id)" + :editable="editable" + :remove="removeAttachment" + :edit="editAttachment" + :description="descriptions && descriptions[attachment.id]" + :hideDescription="tooManyAttachments && hidingLong" :style="itemStyle(attachment.id, row.items)" + @setMedia="onMedia" + @naturalSizeLoad="onNaturalSizeLoad" /> </div> </div> |
