Skip to content

Commit 9ca174e

Browse files
authored
Merge pull request #4821 from gitbutlerapp/fix-select-update-error
fix: Update the select options correctly
2 parents e4834db + 4334605 commit 9ca174e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/desktop/src/lib/select/Select.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
let listOpen = $state(false);
5656
let inputBoundingRect = $state<DOMRect>();
5757
58+
$effect(() => {
59+
filteredOptions = options;
60+
});
61+
5862
const maxBottomPadding = 20;
5963
6064
function setMaxHeight() {

0 commit comments

Comments
 (0)