mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 11:36:05 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user