Skip to content

Commit 6c9658e

Browse files
committed
fix(grid-finjs): improve logic for hiding theme-switcher
1 parent d01ccb6 commit 6c9658e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/app-lob/src/app/grid-finjs/controllers.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class ControllerComponent implements OnInit, OnDestroy {
6767
this.toast.positionSettings.verticalDirection = VerticalAlignment.Middle;
6868

6969
// Hide theme switcher
70-
if (this.router.snapshot.queryParamMap.get('theme-switch')) {
70+
if (this.router.snapshot.queryParamMap.get('theme-switch') === 'false') {
7171
this.isThemeSwitchVisible = false;
7272
}
7373
}

0 commit comments

Comments
 (0)