mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-30 00:28:23 +00:00
Refresh item after addon is done
This commit is contained in:
@@ -38,6 +38,7 @@ type Msg
|
||||
| ItemResp (Result Http.Error ItemDetail)
|
||||
| ScrollResult (Result Dom.Error ())
|
||||
| UiSettingsUpdated
|
||||
| ReloadItem Bool
|
||||
|
||||
|
||||
type alias UpdateResult =
|
||||
|
@@ -47,6 +47,13 @@ update inav env msg model =
|
||||
, selectedItems = env.selectedItems
|
||||
}
|
||||
|
||||
ReloadItem withFiles ->
|
||||
let
|
||||
m =
|
||||
ItemDetailMsg (Comp.ItemDetail.Model.ReloadItem withFiles)
|
||||
in
|
||||
update inav env m model
|
||||
|
||||
ItemDetailMsg lmsg ->
|
||||
let
|
||||
result =
|
||||
|
Reference in New Issue
Block a user