Merge pull request #19436 from AmbrishRamachandiran/delete-icon-playlist-color

change color of delete icon to red play list entity table
This commit is contained in:
Ben Lambert
2023-08-23 14:15:39 +02:00
committed by GitHub
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-playlist': patch
---
change color of delete icon to secondary in playlist table
@@ -108,7 +108,7 @@ export const PlaylistEntitiesTable = ({
const actions = editAllowed
? [
{
icon: DeleteIcon,
icon: () => <DeleteIcon color="secondary" />,
tooltip: `Remove from ${singularTitleLowerCase}`,
onClick: removeEntity,
},
@@ -166,7 +166,7 @@ export const PlaylistHeader = ({ playlist, onUpdate }: PlaylistHeaderProps) => {
},
{
label: `Delete ${singularTitle}`,
icon: <DeleteIcon />,
icon: <DeleteIcon color="secondary" />,
disabled: !deleteAllowed,
onClick: () => setOpenDeleteDialog(true),
},