]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Do not prematurely show the back button
authorJohannes Zellner <johannes@cloudron.io>
Thu, 17 May 2018 13:08:52 +0000 (15:08 +0200)
committerJohannes Zellner <johannes@cloudron.io>
Thu, 17 May 2018 13:08:52 +0000 (15:08 +0200)
frontend/index.html

index fc127ac9905bf601afc9d7ef8a610c6238aaa767..0ef1bf53a7ebb8d3bc4cce49e00bfc6aed426905 100644 (file)
@@ -40,7 +40,7 @@
       <div style="padding: 7px;">
         <span>Surfer</span>
       </div>
-      <div>
+      <div v-show="session.valid">
         <el-button type="primary" size="small" icon="el-icon-arrow-left" :disabled="!pathParts.slice(-1).length" @click="onUp"></el-button>
       </div>
       <div style="flex-grow: 2; padding: 0 7px;" v-show="session.valid">