mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +00:00
Disable "group by month" option when there is only one group
When fulltext search is used, there only is one group. It also doesn't make much sense when there is just one month group as well.
This commit is contained in:
parent
d0d37de6ac
commit
648a81bcdb
@ -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