diff options
author | Johannes Zellner <johannes@cloudron.io> | 2020-01-05 19:52:58 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2020-01-05 19:52:58 +0100 |
commit | 4ee20d6e9f4b1f2858f8e48993247b85273742ee (patch) | |
tree | 845c12ce9eddbe4dec81b9988bbae009c87a77cb /frontend | |
parent | 870c3b6669d399f568d47c2f9d9d58a9bca9b185 (diff) | |
download | Surfer-4ee20d6e9f4b1f2858f8e48993247b85273742ee.tar.gz Surfer-4ee20d6e9f4b1f2858f8e48993247b85273742ee.tar.zst Surfer-4ee20d6e9f4b1f2858f8e48993247b85273742ee.zip |
Ensure the rename input has correct size
Diffstat (limited to 'frontend')
-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 41b4749..1905894 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -104,7 +104,7 @@ | |||
104 | </el-table-column> | 104 | </el-table-column> |
105 | <el-table-column prop="filePath" label="Name" sortable> | 105 | <el-table-column prop="filePath" label="Name" sortable> |
106 | <template slot-scope="scope"> | 106 | <template slot-scope="scope"> |
107 | <el-input v-on:keyup.native.enter="onRenameSubmit(scope.row)" v-on:keyup.native.esc="onRenameEnd(scope.row)" @blur="onRenameEnd(scope.row)" v-model="scope.row.filePathNew" :id="'filePathRenameInputId-' + scope.$index" v-show="scope.row.rename"></el-input> | 107 | <el-input size="small" v-on:keyup.native.enter="onRenameSubmit(scope.row)" v-on:keyup.native.esc="onRenameEnd(scope.row)" @blur="onRenameEnd(scope.row)" v-model="scope.row.filePathNew" :id="'filePathRenameInputId-' + scope.$index" v-show="scope.row.rename"></el-input> |
108 | <span v-show="!scope.row.rename">{{ scope.row.filePath }}</span> | 108 | <span v-show="!scope.row.rename">{{ scope.row.filePath }}</span> |
109 | <el-button size="small" icon="el-icon-edit" type="text" plain circle class="rename-action" v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button> | 109 | <el-button size="small" icon="el-icon-edit" type="text" plain circle class="rename-action" v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button> |
110 | </template> | 110 | </template> |