mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-23 20:54:50 +03:00
Fix reactivity issue in sidebar entry
This commit is contained in:
parent
5def9c8724
commit
26bae0a907
@ -109,9 +109,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const stackBranches = branchListing.virtualBranch?.stackBranches;
|
const stackBranches = $derived(branchListing.virtualBranch?.stackBranches);
|
||||||
const filteredStackBranches =
|
const filteredStackBranches = $derived(
|
||||||
stackBranches && stackBranches.length > 0 ? stackBranches : [branchListing.name];
|
stackBranches && stackBranches.length > 0 ? stackBranches : [branchListing.name]
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<SidebarEntry
|
<SidebarEntry
|
||||||
|
Loading…
Reference in New Issue
Block a user