Skip to content

Commit 5cc9f07

Browse files
committed
[NAE-1690] Fix header responsive overflow mode
- Optional
1 parent 06d9bb6 commit 5cc9f07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/netgrif-components-core/src/lib/header/abstract-header-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export abstract class AbstractHeaderService implements OnDestroy {
8181
}
8282

8383
get overflowMode(): boolean {
84-
if (this._overflowService !== null) {
84+
if (!!this._overflowService) {
8585
return this._overflowService.overflowMode;
8686
} else {
8787
return false;

projects/netgrif-components-core/src/lib/panel/abstract/panel-with-immediate-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export abstract class AbstractPanelWithImmediateDataComponent extends AbstractPa
2020
}
2121

2222
get overflowMode(): boolean {
23-
if(this._overflowService !== null){
23+
if(!!this._overflowService){
2424
return this._overflowService.overflowMode;
2525
} else {
2626
return false;

0 commit comments

Comments
 (0)