From 4c430bd1c98285323a47ab50b5e0d42f48058c6f Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 3 Feb 2019 11:56:27 -0800 Subject: [PATCH] fix: remove dead code from MediaDialog (#934) --- src/routes/_components/dialog/components/MediaDialog.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/routes/_components/dialog/components/MediaDialog.html b/src/routes/_components/dialog/components/MediaDialog.html index decab6b7..b9a008d5 100644 --- a/src/routes/_components/dialog/components/MediaDialog.html +++ b/src/routes/_components/dialog/components/MediaDialog.html @@ -165,8 +165,6 @@ store: () => store, computed: { length: ({ mediaItems }) => mediaItems.length, - originalWidths: ({ mediaItems }) => mediaItems.map(_ => _.meta.original.width), - maxWidth: ({ originalWidths }) => Math.max.apply(Math, originalWidths), dots: ({ length }) => times(length, i => ({ i })) }, components: {