mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Allow to hide classification settings in the webapp
This commit is contained in:
@ -277,7 +277,7 @@ view flags settings model =
|
||||
, h3
|
||||
[ classList
|
||||
[ ( "ui dividing header", True )
|
||||
, ( "invisible hidden", False )
|
||||
, ( "invisible hidden", not flags.config.showClassificationSettings )
|
||||
]
|
||||
]
|
||||
[ text "Document Classifier"
|
||||
@ -285,7 +285,7 @@ view flags settings model =
|
||||
, div
|
||||
[ classList
|
||||
[ ( "field", True )
|
||||
, ( "invisible hidden", False )
|
||||
, ( "invisible hidden", not flags.config.showClassificationSettings )
|
||||
]
|
||||
]
|
||||
[ Html.map ClassifierSettingMsg
|
||||
|
@ -18,6 +18,7 @@ type alias Config =
|
||||
, fullTextSearchEnabled : Bool
|
||||
, maxPageSize : Int
|
||||
, maxNoteLength : Int
|
||||
, showClassificationSettings : Bool
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user