aboutsummaryrefslogtreecommitdiff
path: root/src/components/gallery
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-15 10:00:44 -0500
committertusooa <tusooa@kazv.moe>2023-01-15 10:00:44 -0500
commitd2ba67d565ba68acc1938dc9ae2c866a6e39d4d6 (patch)
tree1dad722edc84b5ba1759a13e1944167c5ffcf7c3 /src/components/gallery
parenta28032fa58ff341b8815a0651d621ed358efd168 (diff)
parent4d2056d8aaa8f2c20a3275503857d38ac9112e5f (diff)
Merge remote-tracking branch 'upstream/develop' into tusooa/stylelint
Diffstat (limited to 'src/components/gallery')
-rw-r--r--src/components/gallery/gallery.js1
-rw-r--r--src/components/gallery/gallery.vue1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/gallery/gallery.js b/src/components/gallery/gallery.js
index 4e1bda55..e86a3eea 100644
--- a/src/components/gallery/gallery.js
+++ b/src/components/gallery/gallery.js
@@ -4,6 +4,7 @@ import { sumBy, set } from 'lodash'
const Gallery = {
props: [
'attachments',
+ 'compact',
'limitRows',
'descriptions',
'limit',
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index 744b8198..96b554e3 100644
--- a/src/components/gallery/gallery.vue
+++ b/src/components/gallery/gallery.vue
@@ -20,6 +20,7 @@
v-for="(attachment, attachmentIndex) in row.items"
:key="attachment.id"
class="gallery-item"
+ :compact="compact"
:nsfw="nsfw"
:attachment="attachment"
:size="size"