From aac0aa755f4ff9278593af3186aef83f46735ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Holba?= Date: Sat, 22 Aug 2020 17:55:03 +0200 Subject: [PATCH] fix arrow function when is just one file in MediaPreview --- public/mix-manifest.json | 30 +++++-------------- .../FilesView/FilePreviewNavigationPanel.vue | 2 +- .../components/FilesView/MediaFullPreview.vue | 10 ++----- 3 files changed, 11 insertions(+), 31 deletions(-) diff --git a/public/mix-manifest.json b/public/mix-manifest.json index dd3928e4..c05f44e7 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,27 +1,11 @@ { "/js/main.js": "/js/main.js", "/css/app.css": "/css/app.css", - "/js/main.6e61b5140c8320eabbda.hot-update.js": "/js/main.6e61b5140c8320eabbda.hot-update.js", - "/js/main.2f3be0d7bb920d89e3f7.hot-update.js": "/js/main.2f3be0d7bb920d89e3f7.hot-update.js", - "/js/main.5f2859afe9a0fc807c14.hot-update.js": "/js/main.5f2859afe9a0fc807c14.hot-update.js", - "/js/main.dde1cb883c5dd8023970.hot-update.js": "/js/main.dde1cb883c5dd8023970.hot-update.js", - "/js/main.03f988dfc402f8de6153.hot-update.js": "/js/main.03f988dfc402f8de6153.hot-update.js", - "/js/main.e1da77c63fd62b865820.hot-update.js": "/js/main.e1da77c63fd62b865820.hot-update.js", - "/js/main.26f504b3598d20331516.hot-update.js": "/js/main.26f504b3598d20331516.hot-update.js", - "/js/main.0bf3c0331d282064f648.hot-update.js": "/js/main.0bf3c0331d282064f648.hot-update.js", - "/js/main.5fcb6fdbf17d1bc77140.hot-update.js": "/js/main.5fcb6fdbf17d1bc77140.hot-update.js", - "/js/main.b7f8b140489b6f84b5fa.hot-update.js": "/js/main.b7f8b140489b6f84b5fa.hot-update.js", - "/js/main.072990b3c71796c0890e.hot-update.js": "/js/main.072990b3c71796c0890e.hot-update.js", - "/js/main.647feaaaa324a4c0a90c.hot-update.js": "/js/main.647feaaaa324a4c0a90c.hot-update.js", - "/js/main.df8ce05016498d3f7fe5.hot-update.js": "/js/main.df8ce05016498d3f7fe5.hot-update.js", - "/js/main.e53af339d2e561120030.hot-update.js": "/js/main.e53af339d2e561120030.hot-update.js", - "/js/main.79e7901acb9aaa7f3bd0.hot-update.js": "/js/main.79e7901acb9aaa7f3bd0.hot-update.js", - "/js/main.f93eb4cc730060c8b4c8.hot-update.js": "/js/main.f93eb4cc730060c8b4c8.hot-update.js", - "/js/main.15c2a08e6be31a440ac8.hot-update.js": "/js/main.15c2a08e6be31a440ac8.hot-update.js", - "/js/main.fd70e2b0906329f2f8c8.hot-update.js": "/js/main.fd70e2b0906329f2f8c8.hot-update.js", - "/js/main.1517c69f49f7cbf58556.hot-update.js": "/js/main.1517c69f49f7cbf58556.hot-update.js", - "/js/main.31d2a937b7ed1c38abf3.hot-update.js": "/js/main.31d2a937b7ed1c38abf3.hot-update.js", - "/js/main.7d748799750837d3d3d1.hot-update.js": "/js/main.7d748799750837d3d3d1.hot-update.js", - "/js/main.b6eeec4c5f2cdef792b1.hot-update.js": "/js/main.b6eeec4c5f2cdef792b1.hot-update.js", - "/js/main.91ed64d2faf14a03d117.hot-update.js": "/js/main.91ed64d2faf14a03d117.hot-update.js" + "/js/main.1e37c7b25acd36f7eda9.hot-update.js": "/js/main.1e37c7b25acd36f7eda9.hot-update.js", + "/js/main.8dba352fe9551e10fe92.hot-update.js": "/js/main.8dba352fe9551e10fe92.hot-update.js", + "/js/main.2067a539e7fd47de9e8b.hot-update.js": "/js/main.2067a539e7fd47de9e8b.hot-update.js", + "/js/main.2f57ea87830cf952c235.hot-update.js": "/js/main.2f57ea87830cf952c235.hot-update.js", + "/js/main.8f99a2048dd222012eea.hot-update.js": "/js/main.8f99a2048dd222012eea.hot-update.js", + "/js/main.dc3de7faec7bd4b74e73.hot-update.js": "/js/main.dc3de7faec7bd4b74e73.hot-update.js", + "/js/main.abe8591d01cb790f28ef.hot-update.js": "/js/main.abe8591d01cb790f28ef.hot-update.js" } diff --git a/resources/js/components/FilesView/FilePreviewNavigationPanel.vue b/resources/js/components/FilesView/FilePreviewNavigationPanel.vue index 2ba3cf6b..0d4c4c4e 100644 --- a/resources/js/components/FilesView/FilePreviewNavigationPanel.vue +++ b/resources/js/components/FilesView/FilePreviewNavigationPanel.vue @@ -21,7 +21,7 @@ id="fast-preview-menu" class="fast-menu-icon" @click="menuOpen" - v-if="$checkPermission('master', 'editor')" + v-if="$checkPermission(['master', 'editor'])" > diff --git a/resources/js/components/FilesView/MediaFullPreview.vue b/resources/js/components/FilesView/MediaFullPreview.vue index 6abc66a9..1e4ef647 100644 --- a/resources/js/components/FilesView/MediaFullPreview.vue +++ b/resources/js/components/FilesView/MediaFullPreview.vue @@ -18,8 +18,7 @@ v-on:load="onLoaded" />
-