file previews

This commit is contained in:
2024-08-17 20:31:04 +03:00
parent 322962403d
commit 36165444cf
7 changed files with 219 additions and 149 deletions
+1 -4
View File
@@ -36,10 +36,7 @@ export function previewTitle(schemas, record, graph) {
function noTemplate(schema, record) {
if (schema?.type === "files") {
if(record._file.width === 0){
return record._file.path;
}
return record._file.path + " " + record._file.width+"x"+record._file.height ;
return record._file.path;
}
let title = stripHtml(