Adds ExpireDeleteMarker status to bucketLifecycleRule UI display (#3302)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user