Răsfoiți Sursa

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

NGPixel 5 ani în urmă
părinte
comite
a1e0e4f27a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      client/components/common/nav-header.vue

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