mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Use anchor links instead of javascript to go to detail view
This commit is contained in:
@ -82,21 +82,13 @@ update mId key flags settings msg model =
|
||||
flags
|
||||
m
|
||||
model.itemListModel
|
||||
|
||||
( cmd, id ) =
|
||||
case result.selected of
|
||||
Just item ->
|
||||
( Page.set key (ItemDetailPage item.id), Just item.id )
|
||||
|
||||
Nothing ->
|
||||
( Cmd.none, Nothing )
|
||||
in
|
||||
withSub
|
||||
( { model
|
||||
| itemListModel = result.model
|
||||
, dragDropData = DD.DragDropData result.dragModel Nothing
|
||||
}
|
||||
, Cmd.batch [ Cmd.map ItemCardListMsg result.cmd, cmd ]
|
||||
, Cmd.batch [ Cmd.map ItemCardListMsg result.cmd ]
|
||||
)
|
||||
|
||||
ItemSearchResp (Ok list) ->
|
||||
|
Reference in New Issue
Block a user