mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-05 10:59:33 +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
|
else
|
||||||
i [ class "fa fa-square font-thin" ] []
|
i [ class "fa fa-square font-thin" ] []
|
||||||
, disabled = False
|
, disabled = List.length model.itemListModel.results.groups <= 1
|
||||||
, label = texts.showItemGroups
|
, label = texts.showItemGroups
|
||||||
, attrs =
|
, attrs =
|
||||||
[ href "#"
|
[ href "#"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user