fix(client): strange behaviour when navigating between tabs (closes #1615)

This commit is contained in:
Elian Doran
2025-04-04 17:57:54 +03:00
parent 6dc2e4088f
commit 67f39e8bde
5 changed files with 98 additions and 56 deletions

View File

@@ -214,7 +214,7 @@ export class TypedBasicWidget<T extends TypedComponent<any>> extends TypedCompon
return this.$widget.hasClass("hidden-int");
}
toggleExt(show: boolean) {
toggleExt(show: boolean | null | "" | undefined) {
this.$widget.toggleClass("hidden-ext", !show)
.toggleClass("visible", !!show);
}