]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - frontend/index.html
Use disabled for back button instead of show
[perso/Immae/Projets/Nodejs/Surfer.git] / 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">