mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Make item-detail and item-light consistent in field naming
This changes the public structure for an "item-light" as returned in search results. It makes unifying things easier if both names are the same.
This commit is contained in:
@ -36,7 +36,7 @@ makeCorrLink item tagger =
|
||||
|
||||
|
||||
makeConcLink :
|
||||
{ a | concPerson : Maybe IdName, concEquip : Maybe IdName }
|
||||
{ a | concPerson : Maybe IdName, concEquipment : Maybe IdName }
|
||||
-> (LinkTarget -> msg)
|
||||
-> List (Html msg)
|
||||
makeConcLink item tagger =
|
||||
@ -47,7 +47,7 @@ makeConcLink item tagger =
|
||||
makeEquip idname =
|
||||
makeLink (LinkConcEquip >> tagger) idname
|
||||
in
|
||||
combine (Maybe.map makePerson item.concPerson) (Maybe.map makeEquip item.concEquip)
|
||||
combine (Maybe.map makePerson item.concPerson) (Maybe.map makeEquip item.concEquipment)
|
||||
|
||||
|
||||
makeFolderLink :
|
||||
|
Reference in New Issue
Block a user