Skip to content

Commit

Permalink
Fixed missing fields decoupling (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
TianWuwt authored Jan 7, 2025
1 parent 8ae97d4 commit 82f41e2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ui/src/pages/Cluster/Detail/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,14 @@ const ClusterOverview: React.FC = () => {
setOperateModalVisible(true);
};

const { parameters, storage, resource, deletionProtection, backupVolume } =
clusterDetail?.info || {};
const {
parameters,
storage,
resource,
deletionProtection,
backupVolume,
pvcIndependent,
} = clusterDetail?.info || {};

// 不为空即为绑定了NFS
const removeNFS = !!backupVolume;
Expand Down

0 comments on commit 82f41e2

Please sign in to comment.