mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-27 17:55:11 +03:00
Fix reactivity issue in series header
This commit is contained in:
parent
1bd0ab1719
commit
5def9c8724
@ -11,8 +11,10 @@
|
||||
|
||||
const { series, disableSelector }: Props = $props();
|
||||
|
||||
let shiftedSeries = series.slice(1);
|
||||
let seriesTypes = shiftedSeries.map((s) => (s.patches[0] ? s.patches[0].status : 'local'));
|
||||
const shiftedSeries = $derived(series.slice(1));
|
||||
const seriesTypes = $derived(
|
||||
shiftedSeries.map((s) => (s.patches[0] ? s.patches[0].status : 'local'))
|
||||
);
|
||||
</script>
|
||||
|
||||
<div class="stack-series-row">
|
||||
|
Loading…
Reference in New Issue
Block a user