From 35825f09d3225b5f188b6b89e9a83d02e0c1f793 Mon Sep 17 00:00:00 2001 From: Saira-A <139405429+Saira-A@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:48:19 +0100 Subject: [PATCH] treeHasNavDates --- .../modules/uv-contentleftpanel-module/ContentLeftPanel.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/content-handlers/iiif/modules/uv-contentleftpanel-module/ContentLeftPanel.ts b/src/content-handlers/iiif/modules/uv-contentleftpanel-module/ContentLeftPanel.ts index b231ad95f..9eb426286 100644 --- a/src/content-handlers/iiif/modules/uv-contentleftpanel-module/ContentLeftPanel.ts +++ b/src/content-handlers/iiif/modules/uv-contentleftpanel-module/ContentLeftPanel.ts @@ -283,8 +283,7 @@ export class ContentLeftPanel extends LeftPanel { if (!treeData) { return; } - - if (!this.defaultToThumbsView()) { + if (!this.defaultToThumbsView() || this.extension.helper.treeHasNavDates(treeData)) { this.$treeViewOptions.show(); } else { this.$treeViewOptions.hide();