fix: creating a new group when only one group exists does not show the group (#7303)

fix: creating a new group when only one instance exists does not show the group
This commit is contained in:
Truman Gao
2026-08-25 19:47:37 +00:00
committed by GitHub
parent 7420560784
commit 7701aef048
@@ -371,7 +371,9 @@ watch(selectedLibraryInstances, (selectedInstances) => {
>
<InstanceGroup
:can-drag-reorder="canDragReorderGroups"
:hide-header="visibleInstanceGroups.length === 1"
:hide-header="
instanceGroup.id === 'group:none' && visibleInstanceGroups.length === 1
"
:instance-group="instanceGroup"
:selection-anchor-instance-id="
anchorInstance?.groupId === instanceGroup.id ? anchorInstance?.instanceId : null