From 0f079e2d5fb471daf38416c85b011ef913fbe686 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Mon, 14 Oct 2019 13:07:49 -0400 Subject: [PATCH] fix: editor select back button (#1098) --- client/components/admin/admin-general.vue | 2 +- client/components/common/page-selector.vue | 6 +++--- client/components/editor/editor-modal-editorselect.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/components/admin/admin-general.vue b/client/components/admin/admin-general.vue index 400dcc80..d1007f3b 100644 --- a/client/components/admin/admin-general.vue +++ b/client/components/admin/admin-general.vue @@ -187,7 +187,7 @@ v-divider.mt-3 v-switch( inset - label='Subresource Integrity' + label='Subresource Integrity (SRI)' color='red darken-2' v-model='config.securitySRI' persistent-hint diff --git a/client/components/common/page-selector.vue b/client/components/common/page-selector.vue index 84a22f53..73038d6f 100644 --- a/client/components/common/page-selector.vue +++ b/client/components/common/page-selector.vue @@ -44,9 +44,9 @@ v-flex(xs7) v-toolbar(color='blue darken-2', dark, dense, flat) .body-2 Pages - v-spacer - v-btn(icon, tile, disabled): v-icon mdi-content-save-move-outline - v-btn(icon, tile, disabled): v-icon mdi-trash-can-outline + //- v-spacer + //- v-btn(icon, tile, disabled): v-icon mdi-content-save-move-outline + //- v-btn(icon, tile, disabled): v-icon mdi-trash-can-outline div(v-if='currentPages.length > 0', style='height:400px;') vue-scroll(:ops='scrollStyle') v-list.py-0(dense) diff --git a/client/components/editor/editor-modal-editorselect.vue b/client/components/editor/editor-modal-editorselect.vue index 82732a9e..404b6867 100644 --- a/client/components/editor/editor-modal-editorselect.vue +++ b/client/components/editor/editor-modal-editorselect.vue @@ -219,7 +219,7 @@ export default { this.isShown = false }, goBack() { - window.history.go(-2) + window.history.go(-1) } } }