Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 5085909

Browse files
authored
fix(core): ignore null values in breakpoint fallback mechanism (#1247)
1 parent a96ef13 commit 5085909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/core/media-marshaller/media-marshaller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export class MediaMarshaller {
317317
const activatedBp = this.activatedBreakpoints[i];
318318
const valueMap = bpMap.get(activatedBp.alias);
319319
if (valueMap) {
320-
if (key === undefined || (valueMap.has(key) && valueMap.get(key) !== undefined)) {
320+
if (key === undefined || (valueMap.has(key) && valueMap.get(key) != null)) {
321321
return valueMap;
322322
}
323323
}

0 commit comments

Comments
 (0)