Skip to content

Commit

Permalink
fix CR
Browse files Browse the repository at this point in the history
  • Loading branch information
TianWuwt committed Dec 26, 2024
1 parent f017e0e commit baa4fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/Cluster/Detail/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const ClusterOverview: React.FC = () => {
type="text"
disabled={
!isEmpty(clusterDetail) &&
(clusterDetail?.status !== 'running' || deletionProtection)
(clusterDetail?.status === 'deleting' || deletionProtection)
}
onClick={() =>
showDeleteConfirm({
Expand Down

0 comments on commit baa4fab

Please sign in to comment.