mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 02:49:32 +00:00
Merge pull request #1270 from eikek/bug/grouping-fulltextsearch
Disable "group by month" option when there is only one group
This commit is contained in:
commit
def3b7411b
@ -326,7 +326,7 @@ defaultMenuBar texts flags settings model =
|
||||
|
||||
else
|
||||
i [ class "fa fa-square font-thin" ] []
|
||||
, disabled = False
|
||||
, disabled = List.length model.itemListModel.results.groups <= 1
|
||||
, label = texts.showItemGroups
|
||||
, attrs =
|
||||
[ href "#"
|
||||
|
Loading…
x
Reference in New Issue
Block a user