aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.js
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/attachment/attachment.js
parenta28032fa58ff341b8815a0651d621ed358efd168 (diff)
parent4d2056d8aaa8f2c20a3275503857d38ac9112e5f (diff)
Merge remote-tracking branch 'upstream/develop' into tusooa/stylelint
Diffstat (limited to 'src/components/attachment/attachment.js')
-rw-r--r--src/components/attachment/attachment.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index 5dc50475..6e14b24d 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -36,6 +36,7 @@ library.add(
const Attachment = {
props: [
'attachment',
+ 'compact',
'description',
'hideDescription',
'nsfw',
@@ -71,7 +72,8 @@ const Attachment = {
{
'-loading': this.loading,
'-nsfw-placeholder': this.hidden,
- '-editable': this.edit !== undefined
+ '-editable': this.edit !== undefined,
+ '-compact': this.compact
},
'-type-' + this.type,
this.size && '-size-' + this.size,