aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@cloudron.io>2020-01-05 18:51:53 +0100
committerJohannes Zellner <johannes@cloudron.io>2020-01-05 18:51:53 +0100
commit383f72f7f5459d85042c6a7e8d1f471052cc01e6 (patch)
treebfae71747007130476fbfaae66a63e603a2f4b6a /frontend
parent809fcf5dcaf1fad139ba55e412f5349863224fe0 (diff)
downloadSurfer-383f72f7f5459d85042c6a7e8d1f471052cc01e6.tar.gz
Surfer-383f72f7f5459d85042c6a7e8d1f471052cc01e6.tar.zst
Surfer-383f72f7f5459d85042c6a7e8d1f471052cc01e6.zip
use el-image instead of manual img tag
Diffstat (limited to 'frontend')
-rw-r--r--frontend/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 206a23c..95fe31b 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -99,7 +99,7 @@
99 <el-table :data="entries" style="max-width: 1280px;width: 100%" height="100%" empty-text="Folder is emtpy" :default-sort="{ prop: 'filePath', order: 'descending' }" @row-click="open"> 99 <el-table :data="entries" style="max-width: 1280px;width: 100%" height="100%" empty-text="Folder is emtpy" :default-sort="{ prop: 'filePath', order: 'descending' }" @row-click="open">
100 <el-table-column prop="previewUrl" label="Type" width="100px" sortable> 100 <el-table-column prop="previewUrl" label="Type" width="100px" sortable>
101 <template slot-scope="scope"> 101 <template slot-scope="scope">
102 <img v-bind:src="scope.row.previewUrl" class="list-icon" height="32px" width="32px" style="object-fit: cover;"/> 102 <el-image v-bind:src="scope.row.previewUrl" class="list-icon" style="width: 32px; height: 32px" fit="cover"></el-image>
103 </template> 103 </template>
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>