Click on tag in item detail to switch to search

This commit is contained in:
Eike Kettner
2020-11-14 13:16:35 +01:00
parent fe8c122968
commit b98edba9e5
5 changed files with 38 additions and 14 deletions

View File

@ -259,6 +259,7 @@ type Msg
| SetConcPerson IdName
| SetConcEquip IdName
| SetFolder IdName
| SetTag String
type alias NextState =
@ -371,6 +372,9 @@ updateDrop ddm flags settings msg model =
in
resetAndSet (ConcEquipmentMsg (Comp.Dropdown.SetSelection [ equip ]))
SetTag id ->
resetAndSet (TagSelectMsg (Comp.TagSelect.toggleTag id))
GetTagsResp (Ok tags) ->
let
selectModel =