diff --git a/changelog.md b/changelog.md index ec6fa9e..3b468b4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-02-02 - 3.41.6 - fix(dees-simple-appdash) +respect selectedView when loading initial view, falling back to the first tab + +- firstUpdated now loads this.selectedView if set, otherwise loads the first view tab +- Prevents always loading the first tab and preserves a previously selected view on initial render + ## 2026-02-01 - 3.41.5 - fix(dees-service-lib-loader) prevent horizontal scrollbar by offsetting xterm WidthCache measurement container diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 0cffa14..dee1d6f 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@design.estate/dees-catalog', - version: '3.41.5', + version: '3.41.6', description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.' } diff --git a/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.ts b/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.ts index bf31c45..980f34c 100644 --- a/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.ts +++ b/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.ts @@ -390,7 +390,8 @@ export class DeesSimpleAppDash extends DeesElement { const domtools = await this.domtoolsPromise; super.firstUpdated(_changedProperties); if (this.viewTabs && this.viewTabs.length > 0) { - await this.loadView(this.viewTabs[0]); + const viewToLoad = this.selectedView || this.viewTabs[0]; + await this.loadView(viewToLoad); } }