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
1 changed files with 0 additions and 2 deletions

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