]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Use disabled for back button instead of show
authorJohannes Zellner <johannes@cloudron.io>
Thu, 17 May 2018 13:06:47 +0000 (15:06 +0200)
committerJohannes Zellner <johannes@cloudron.io>
Thu, 17 May 2018 13:06:47 +0000 (15:06 +0200)
frontend/index.html

index 19fc217db8037209554b979999ae5713b0334a07..fc127ac9905bf601afc9d7ef8a610c6238aaa767 100644 (file)
@@ -41,7 +41,7 @@
         <span>Surfer</span>
       </div>
       <div>
-        <el-button type="primary" size="small" icon="el-icon-arrow-left" v-show="pathParts.slice(-1).length" @click="onUp"></el-button>
+        <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">
         <el-breadcrumb separator-class="el-icon-arrow-right">