Skip to content

Commit

Permalink
PMM-12037 Enable suspend and resume for pg
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkubinec committed May 4, 2023
1 parent 7e20b60 commit 1e227d6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ export const DBClusterActions: FC<DBClusterActionsProps> = ({
dbCluster.status === DBClusterStatus.ready
? Messages.dbcluster.table.actions.suspend
: Messages.dbcluster.table.actions.resume,
disabled:
(dbCluster.status !== DBClusterStatus.ready && dbCluster.status !== DBClusterStatus.suspended) ||
dbCluster.databaseType === Databases.postgresql,
disabled: dbCluster.status !== DBClusterStatus.ready && dbCluster.status !== DBClusterStatus.suspended,
action: async () => {
try {
const dbClusterService = newDBClusterService(dbCluster.databaseType);
Expand Down

0 comments on commit 1e227d6

Please sign in to comment.