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

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