Browse Source

Use 'Screen' for the name when selecting the root screen component

pull/6409/head
Andrew Kingston 4 years ago
parent
commit
9035660975
  1. 2
      packages/client/src/components/Component.svelte

2
packages/client/src/components/Component.svelte

@ -88,7 +88,7 @@
// Extract component instance info
$: children = instance._children || []
$: id = instance._id
$: name = instance._instanceName
$: name = isScreen ? "Screen" : instance._instanceName
// Determine if the component is selected or is part of the critical path
// leading to the selected component

Loading…
Cancel
Save