From e57418972dcffc15fac6c34c2863de805fcf9fd2 Mon Sep 17 00:00:00 2001 From: Jared Therriault Date: Sat, 5 Apr 2025 22:13:02 -0700 Subject: [PATCH] Fix subdirectory images not showing when using bIncludeSubdirectories --- web/js/ImageDrawer/Contexts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/ImageDrawer/Contexts.js b/web/js/ImageDrawer/Contexts.js index 96f74d0..7e2e778 100644 --- a/web/js/ImageDrawer/Contexts.js +++ b/web/js/ImageDrawer/Contexts.js @@ -540,7 +540,7 @@ export class ContextSubdirectoryExplorer extends ContextRefreshable { filename: file.item, file: file, type: this.rootDirectoryName, - subdirectory: file.subdirectory ? file.subdirectory : selectedSubdirectory, + subdirectory: file.subdirectory ? selectedSubdirectory ? `${selectedSubdirectory}/${file.subdirectory}` : file.subdirectory : selectedSubdirectory, bShouldForceLoad: this.bShouldForceLoad, bShouldSort: false, bShouldApplySearch: false,