From dc74ff7a3fc04a35518db1628f13e7938ac2089f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Reszke?= Date: Wed, 20 Mar 2024 22:40:52 +0100 Subject: [PATCH] Set value when is exact stream Co-authored-by: Szymon Fiedler --- ruby_event_store-browser/elm/src/Search.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby_event_store-browser/elm/src/Search.elm b/ruby_event_store-browser/elm/src/Search.elm index 093eba88a2..179574ef7d 100644 --- a/ruby_event_store-browser/elm/src/Search.elm +++ b/ruby_event_store-browser/elm/src/Search.elm @@ -48,7 +48,7 @@ update msg model flags onSubmit = case msg of StreamChanged stream -> if isExactStream stream model.streams then - ( model, onSubmit stream ) + ( {model | value = stream }, onSubmit stream ) else ( { model | value = stream }, searchStreams flags stream )