@salesforcedevs/dx-components 1.3.229-dh6-alpha → 1.3.229-dh7-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -80,7 +80,6 @@ export abstract class HeaderBase extends LightningElement {
|
|
|
80
80
|
private showNavScrollShadow: boolean = false;
|
|
81
81
|
protected isSearchOpen: boolean = false;
|
|
82
82
|
private _showBanner?: boolean = false;
|
|
83
|
-
protected shouldRender: boolean = false;
|
|
84
83
|
|
|
85
84
|
get url() {
|
|
86
85
|
return this.href ? new URL(this.href!) : window.location;
|
|
@@ -196,11 +195,9 @@ export abstract class HeaderBase extends LightningElement {
|
|
|
196
195
|
private onMediaChange = (e: MediaQueryListEvent | MediaQueryList) => {
|
|
197
196
|
if (!e.matches) {
|
|
198
197
|
this.mobile = false;
|
|
199
|
-
this.shouldRender = false;
|
|
200
198
|
this.closeMobileNavMenu();
|
|
201
199
|
} else {
|
|
202
200
|
this.mobile = true;
|
|
203
|
-
this.shouldRender = true;
|
|
204
201
|
}
|
|
205
202
|
};
|
|
206
203
|
|