mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Attachments selectable
This commit is contained in:
@ -108,6 +108,7 @@ type alias Model =
|
||||
, attachmentDropdownOpen : Bool
|
||||
, editMenuTabsOpen : Set String
|
||||
, viewMode : ViewMode
|
||||
, selectedAttachments: Set String
|
||||
}
|
||||
|
||||
type ViewMode
|
||||
@ -201,6 +202,7 @@ emptyModel =
|
||||
, attachmentDropdownOpen = False
|
||||
, editMenuTabsOpen = Set.empty
|
||||
, viewMode = SimpleView
|
||||
, selectedAttachments = Set.empty
|
||||
}
|
||||
|
||||
initSelectViewModel : SelectViewModel
|
||||
@ -216,6 +218,7 @@ type Msg
|
||||
| Init
|
||||
| SetItem ItemDetail
|
||||
| SetActiveAttachment Int
|
||||
| ToggleAttachment String
|
||||
| TagDropdownMsg (Comp.Dropdown.Msg Tag)
|
||||
| DirDropdownMsg (Comp.Dropdown.Msg Direction)
|
||||
| OrgDropdownMsg (Comp.Dropdown.Msg IdName)
|
||||
|
Reference in New Issue
Block a user