mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Sort custom field options in dropdown
This commit is contained in:
@ -7,7 +7,7 @@ import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
|
||||
|
||||
nameOrLabel : ItemFieldValue -> String
|
||||
nameOrLabel : { r | name : String, label : Maybe String } -> String
|
||||
nameOrLabel fv =
|
||||
Maybe.withDefault fv.name fv.label
|
||||
|
||||
|
Reference in New Issue
Block a user