From a1e0e4f27a958541443966e6b435151aca848c5d Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sat, 1 Feb 2020 16:26:33 -0500 Subject: [PATCH] fix: hide new page button when path not available (#1394) --- client/components/common/nav-header.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/common/nav-header.vue b/client/components/common/nav-header.vue index 61ab8125..b4a88ff1 100644 --- a/client/components/common/nav-header.vue +++ b/client/components/common/nav-header.vue @@ -144,7 +144,7 @@ //- NEW PAGE - template(v-if='isAuthenticated') + template(v-if='isAuthenticated && path && mode !== `edit`') v-tooltip(bottom) template(v-slot:activator='{ on }') v-btn(icon, tile, height='64', v-on='on', @click='pageNew')