diff options
author | Johannes Zellner <johannes@cloudron.io> | 2019-02-24 22:42:48 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2019-02-24 22:42:48 +0100 |
commit | c396cc18633c1f8d50c5f4cc1c1c568b23ab8b24 (patch) | |
tree | dcf2e33929743e1ffb360e68285ddb4a66740055 | |
parent | 8538b6b70524416a7916ea2418e6b3c46077c2a5 (diff) | |
download | Surfer-c396cc18633c1f8d50c5f4cc1c1c568b23ab8b24.tar.gz Surfer-c396cc18633c1f8d50c5f4cc1c1c568b23ab8b24.tar.zst Surfer-c396cc18633c1f8d50c5f4cc1c1c568b23ab8b24.zip |
Hide rename button when rename is in action
-rw-r--r-- | frontend/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html index 0c18b52..8cea7b9 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -96,7 +96,7 @@ | |||
96 | <el-table-column label="Actions" align="right" width="200px" class-name="list-actions"> | 96 | <el-table-column label="Actions" align="right" width="200px" class-name="list-actions"> |
97 | <template slot-scope="scope"> | 97 | <template slot-scope="scope"> |
98 | <el-button size="small" icon="el-icon-download" circle v-show="scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button> | 98 | <el-button size="small" icon="el-icon-download" circle v-show="scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button> |
99 | <el-button size="small" icon="el-icon-edit" circle @click.stop="onRename(scope.row, scope)"></el-button> | 99 | <el-button size="small" icon="el-icon-edit" circle v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button> |
100 | <el-button size="small" icon="el-icon-delete" circle @click.stop="onDelete(scope.row)"></el-button> | 100 | <el-button size="small" icon="el-icon-delete" circle @click.stop="onDelete(scope.row)"></el-button> |
101 | </template> | 101 | </template> |
102 | </el-table-column> | 102 | </el-table-column> |