Add danger background to dangerous menu items on hover (#3148)

closes #3105
This commit is contained in:
Tom Moor
2022-02-19 18:13:05 -08:00
committed by GitHub
parent 4b688e4ca0
commit c1df8c2162
12 changed files with 44 additions and 12 deletions

View File

@@ -171,6 +171,7 @@ function CollectionMenu({
{
type: "button",
title: `${t("Delete")}`,
dangerous: true,
visible: !!(collection && can.delete),
onClick: () => setShowCollectionDelete(true),
icon: <TrashIcon />,