Commit a1e0e4f2 authored by NGPixel's avatar NGPixel

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

parent 7ab16e2b
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment