aboutsummaryrefslogtreecommitdiff
path: root/src/components/gallery
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-18 13:32:36 +0200
committerHenry Jameson <me@hjkos.com>2022-03-18 13:32:36 +0200
commitb3ed29ff02fa3db46a1ec7b5856f2c9131b8fa33 (patch)
tree954156ac97987d2cac6ecc84c304acfa6543cb33 /src/components/gallery
parent26bfbdc2add0c116c66b10e82f0814d180cc98c9 (diff)
made withLoadMore work... sorta
Diffstat (limited to 'src/components/gallery')
-rw-r--r--src/components/gallery/gallery.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/gallery/gallery.js b/src/components/gallery/gallery.js
index 094b3e57..4e1bda55 100644
--- a/src/components/gallery/gallery.js
+++ b/src/components/gallery/gallery.js
@@ -1,5 +1,5 @@
import Attachment from '../attachment/attachment.vue'
-import { sumBy } from 'lodash'
+import { sumBy, set } from 'lodash'
const Gallery = {
props: [
@@ -85,7 +85,7 @@ const Gallery = {
},
methods: {
onNaturalSizeLoad ({ id, width, height }) {
- this.$set(this.sizes, id, { width, height })
+ set(this.sizes, id, { width, height })
},
rowStyle (row) {
if (row.audio) {