diff options
Diffstat (limited to 'frontend/index.html')
-rw-r--r-- | frontend/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/index.html b/frontend/index.html index 974dece..2d97e1c 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -97,9 +97,9 @@ | |||
97 | <el-table-column prop="mtime" label="Modified" width="150px" sortable :formatter="prettyDate"></el-table-column> | 97 | <el-table-column prop="mtime" label="Modified" width="150px" sortable :formatter="prettyDate"></el-table-column> |
98 | <el-table-column label="Actions" align="right" width="200px" class-name="list-actions"> | 98 | <el-table-column label="Actions" align="right" width="200px" class-name="list-actions"> |
99 | <template slot-scope="scope"> | 99 | <template slot-scope="scope"> |
100 | <el-button size="small" icon="el-icon-download" circle v-show="scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button> | ||
101 | <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-edit" circle v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button> |
102 | <el-button size="small" icon="el-icon-delete" circle @click.stop="onDelete(scope.row)"></el-button> | 101 | <el-button size="small" icon="el-icon-download" circle v-show="!scope.row.rename && scope.row.isFile" @click.stop="onDownload(scope.row)"></el-button> |
102 | <el-button size="small" icon="el-icon-delete" circle v-show="!scope.row.rename" @click.stop="onDelete(scope.row)"></el-button> | ||
103 | </template> | 103 | </template> |
104 | </el-table-column> | 104 | </el-table-column> |
105 | </el-table> | 105 | </el-table> |