diff --git a/ruby_event_store-browser/elm/src/Layout.elm b/ruby_event_store-browser/elm/src/Layout.elm index 4b0db5744e..88699d3435 100644 --- a/ruby_event_store-browser/elm/src/Layout.elm +++ b/ruby_event_store-browser/elm/src/Layout.elm @@ -145,7 +145,7 @@ update msg model = SearchedStreamsFetched (Ok streams) -> let streams_ = - "all" :: List.map .streamId streams + List.map .streamId streams searchModel = model.internal.search diff --git a/ruby_event_store-browser/elm/src/Search.elm b/ruby_event_store-browser/elm/src/Search.elm index 0f47a1bb5c..b8dfe42aa1 100644 --- a/ruby_event_store-browser/elm/src/Search.elm +++ b/ruby_event_store-browser/elm/src/Search.elm @@ -26,11 +26,6 @@ type Msg | GoToStream Stream -globalStreamName : Stream -globalStreamName = - "all" - - emptyStreamName : Stream emptyStreamName = "" @@ -38,7 +33,7 @@ emptyStreamName = init : (Stream -> a) -> (Stream -> a) -> Model a init onSelectMsg onQueryMsg = - { streams = [ globalStreamName ] + { streams = [] , value = emptyStreamName , onSelectMsg = onSelectMsg , onQueryMsg = onQueryMsg