This commit is contained in:
Bruno Rybársky 2024-04-25 22:48:37 +02:00
parent 1e38547f07
commit 6da1f475f8

@ -635,7 +635,8 @@ async function getMemeImages() {
fileList.forEach((item) => {
let option = document.createElement("option");
option.value = item.ID;
option.text = `${item.Path.split("/")[-1]} - (${item.ID}) [${item.UploadedBy}]`;
let splitPath = item.Path.split("/");
option.text = `${splitPath[splitPath.length - 1]} - (${item.ID}) [${item.UploadedBy}]`;
memeImageSelector.appendChild(option);
});