Use 'Screen' for the name when selecting the root screen component
This commit is contained in:
parent
316d5d682f
commit
f66f3b7935
|
@ -88,7 +88,7 @@
|
||||||
// Extract component instance info
|
// Extract component instance info
|
||||||
$: children = instance._children || []
|
$: children = instance._children || []
|
||||||
$: id = instance._id
|
$: id = instance._id
|
||||||
$: name = instance._instanceName
|
$: name = isScreen ? "Screen" : instance._instanceName
|
||||||
|
|
||||||
// Determine if the component is selected or is part of the critical path
|
// Determine if the component is selected or is part of the critical path
|
||||||
// leading to the selected component
|
// leading to the selected component
|
||||||
|
|
Loading…
Reference in New Issue