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:
mergify[bot] 2022-01-11 19:58:19 +00:00 committed by GitHub
commit def3b7411b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 "#"