mirror of
https://github.com/simon987/sist2.git
synced 2025-12-11 14:38:54 +00:00
UI fix, disable thumbnail option, batch index size option
This commit is contained in:
@@ -345,7 +345,8 @@ function makeThumbnail(mimeCategory, hit, imgWrapper, small) {
|
||||
|
||||
function createDocLine(hit) {
|
||||
|
||||
let mimeCategory = hit["_source"]["mime"].split("/")[0];
|
||||
const mime = hit["_source"]["mime"];
|
||||
let mimeCategory = mime ? mime.split("/")[0] : null;
|
||||
let tags = getTags(hit, mimeCategory);
|
||||
|
||||
let imgWrapper = document.createElement("div");
|
||||
|
||||
Reference in New Issue
Block a user