Skip to content

Commit

Permalink
Adds ExpireDeleteMarker status to bucketLifecycleRule UI display (min…
Browse files Browse the repository at this point in the history
  • Loading branch information
jinapurapu authored Apr 19, 2024
1 parent 6cfb6ff commit 226a90b
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,21 @@ const BucketLifecyclePanel = () => {
}
},
},
{
label: "Expire Delete Marker",
elementKey: "expire_delete_marker",
renderFunction: (el: LifeCycleItem) => {
if (!el) {
return <Fragment />;
}
if (el.expiration && el.expiration.delete_marker !== undefined) {
return <span>{el.expiration.delete_marker ? "true" : "false"}</span>;
} else {
return <Fragment />;
}
},
renderFullObject: true,
},
{
label: "Tier",
elementKey: "storage_class",
Expand Down

0 comments on commit 226a90b

Please sign in to comment.