Skip to content

Commit

Permalink
feat: only delete backups if allowed at db level (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-silva authored Dec 3, 2024
1 parent a94f8b4 commit 3cde0c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const BackupActionButtons = (
) => {
const { canDelete } = useRBACPermissions(
'database-cluster-backups',
`${dbCluster.metadata.namespace}/${row.original.backupStorageName}`
`${dbCluster.metadata.namespace}/${row.original.dbClusterName}`
);
const { canCreate: canCreateRestore } = useRBACPermissions(
'database-cluster-restores',
Expand Down

0 comments on commit 3cde0c7

Please sign in to comment.