Skip to content

Commit

Permalink
Set value when is exact stream
Browse files Browse the repository at this point in the history
Co-authored-by: Szymon Fiedler <[email protected]>
  • Loading branch information
lukaszreszke and fidel committed Mar 20, 2024
1 parent 4586316 commit dc74ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby_event_store-browser/elm/src/Search.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit dc74ff7

Please sign in to comment.