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:
@@ -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),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user