mirror of
https://github.com/modrinth/code.git
synced 2026-09-01 12:36:44 +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
|
<InstanceGroup
|
||||||
:can-drag-reorder="canDragReorderGroups"
|
:can-drag-reorder="canDragReorderGroups"
|
||||||
:hide-header="visibleInstanceGroups.length === 1"
|
:hide-header="
|
||||||
|
instanceGroup.id === 'group:none' && visibleInstanceGroups.length === 1
|
||||||
|
"
|
||||||
:instance-group="instanceGroup"
|
:instance-group="instanceGroup"
|
||||||
:selection-anchor-instance-id="
|
:selection-anchor-instance-id="
|
||||||
anchorInstance?.groupId === instanceGroup.id ? anchorInstance?.instanceId : null
|
anchorInstance?.groupId === instanceGroup.id ? anchorInstance?.instanceId : null
|
||||||
|
|||||||
Reference in New Issue
Block a user