Skip to content

Commit

Permalink
Fix unfiltered data store select options on SQL directory creation (f…
Browse files Browse the repository at this point in the history
…ixes #17)
  • Loading branch information
mdecimus committed Aug 8, 2024
1 parent 7cc3abb commit 626b072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/form/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn Select(
element: FormElement,
#[prop(optional, into)] disabled: MaybeSignal<bool>,
) -> impl IntoView {
let options = create_memo(move |_| element.data.get_untracked().select_sources(element.id));
let options = create_memo(move |_| element.data.get().select_sources(element.id));
let value = create_memo(move |_| {
element
.data
Expand Down Expand Up @@ -91,7 +91,7 @@ pub fn CheckboxGroup(
element: FormElement,
#[prop(optional, into)] disabled: MaybeSignal<bool>,
) -> impl IntoView {
let options = create_memo(move |_| element.data.get_untracked().select_sources(element.id));
let options = create_memo(move |_| element.data.get().select_sources(element.id));
let values = create_memo(move |_| {
element
.data
Expand Down

0 comments on commit 626b072

Please sign in to comment.