diff --git a/src/client/host_detail.rs b/src/client/host_detail.rs index 80b7ea7..84958c8 100644 --- a/src/client/host_detail.rs +++ b/src/client/host_detail.rs @@ -39,19 +39,6 @@ fn AddAppModal( // Full Application structs so names are available in the selected tag list. let selected: RwSignal> = RwSignal::new(vec![]); - // Close the modal when the action transitions from in-flight → completed with Ok. - // Tracking the pending→false transition (rather than watching value directly) avoids - // closing the modal on mount when value still holds a previous session's Ok result. - Effect::new(move |was_pending: Option| { - let is_pending = add_action.pending().get(); - if was_pending == Some(true) && !is_pending { - if let Some(Ok(_)) = add_action.value().get() { - show_modal.set(false); - } - } - is_pending - }); - view! {