Fix preview css when switching between tile and list

Closes: #1261
This commit is contained in:
eikek
2022-01-12 19:23:20 +01:00
parent 5f10798e86
commit bafb930877
2 changed files with 6 additions and 2 deletions

View File

@@ -330,7 +330,11 @@ defaultMenuBar texts flags settings model =
, label = texts.showItemGroups
, attrs =
[ href "#"
, onClick ToggleShowGroups
, if List.length model.itemListModel.results.groups <= 1 then
class ""
else
onClick ToggleShowGroups
]
}
, { icon =