mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fix(devtools): Display falsy signal values correctly (#62919)
falsy value would display their preview because of the logical or. fixes #55727 PR Close #62919
This commit is contained in:
parent
b0f0b6d836
commit
65f587bc5d
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
} @else {
|
||||
<ng-property-editor
|
||||
[key]="node.prop.name"
|
||||
[initialValue]="node.prop.descriptor.value || node.prop.descriptor.preview"
|
||||
[initialValue]="node.prop.descriptor.value ?? node.prop.descriptor.preview"
|
||||
[containerType]="node.prop.descriptor.containerType"
|
||||
(updateValue)="handleUpdate(node, $event)"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue