Skip to content

Commit

Permalink
fix(dcellar-web-ui): correct the bucket status
Browse files Browse the repository at this point in the history
  • Loading branch information
devinxl committed May 30, 2024
1 parent ea64198 commit 5b4e3a9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/dcellar-web-ui/src/store/slices/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,7 @@ export const setupBucketList =
}

const bucketList =
res.body?.map((bucket) => ({
...bucket,
BucketInfo: { ...bucket.BucketInfo, BucketStatus: 1 },
})) || [];
res.body?.map((bucket) => ({ ...bucket, BucketInfo: { ...bucket.BucketInfo } })) || [];

const bucketSpInfo = bucketList.map((b) => ({
bucketName: b.BucketInfo.BucketName,
Expand Down

0 comments on commit 5b4e3a9

Please sign in to comment.