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

This commit is contained in:
NGPixel 2020-02-01 16:26:33 -05:00
parent 7ab16e2bf3
commit a1e0e4f27a

View File

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