Commit 2a8d74c
GanJiaKouN16
fix: stop marking newly created apps as draft in playground
The atom returned when
was null. For ephemeral/newly-created entities (no server
baseline), always exists, so every new app was falsely
marked as dirty — showing an unexpected "draft" badge on the node
name tag in SingleLayout.
Change the fallback to : an entity with no server
baseline is clean until the user makes actual edits.
Fixes #45561 parent 1e8500c commit 2a8d74c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1623 | 1623 | | |
1624 | 1624 | | |
1625 | 1625 | | |
1626 | | - | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
1627 | 1629 | | |
1628 | 1630 | | |
1629 | 1631 | | |
| |||
0 commit comments