fix: remove dead code from MediaDialog (#934)

This commit is contained in:
Nolan Lawson 2019-02-03 11:56:27 -08:00 committed by GitHub
parent 437236bf3c
commit 4c430bd1c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: {