fix: remove dead code from MediaDialog (#934)
This commit is contained in:
parent
437236bf3c
commit
4c430bd1c9
|
@ -165,8 +165,6 @@
|
||||||
store: () => store,
|
store: () => store,
|
||||||
computed: {
|
computed: {
|
||||||
length: ({ mediaItems }) => mediaItems.length,
|
length: ({ mediaItems }) => mediaItems.length,
|
||||||
originalWidths: ({ mediaItems }) => mediaItems.map(_ => _.meta.original.width),
|
|
||||||
maxWidth: ({ originalWidths }) => Math.max.apply(Math, originalWidths),
|
|
||||||
dots: ({ length }) => times(length, i => ({ i }))
|
dots: ({ length }) => times(length, i => ({ i }))
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in New Issue