2
0
Эх сурвалжийг харах

fix: hide new page button when path not available (#1394)

NGPixel 5 жил өмнө
parent
commit
a1e0e4f27a

+ 1 - 1
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')