Commit c396cc18 by Johannes Zellner

Hide rename button when rename is in action

1 parent 8538b6b7
Showing with 1 additions and 1 deletions
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<el-table-column label="Actions" align="right" width="200px" class-name="list-actions"> <el-table-column label="Actions" align="right" width="200px" class-name="list-actions">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="small" icon="el-icon-download" circle v-show="scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button> <el-button size="small" icon="el-icon-download" circle v-show="scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button>
<el-button size="small" icon="el-icon-edit" circle @click.stop="onRename(scope.row, scope)"></el-button> <el-button size="small" icon="el-icon-edit" circle v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button>
<el-button size="small" icon="el-icon-delete" circle @click.stop="onDelete(scope.row)"></el-button> <el-button size="small" icon="el-icon-delete" circle @click.stop="onDelete(scope.row)"></el-button>
</template> </template>
</el-table-column> </el-table-column>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!