From 226a90be1d898c036925f53e492319b7be568eb3 Mon Sep 17 00:00:00 2001 From: jinapurapu <65002498+jinapurapu@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:36:00 -0700 Subject: [PATCH] Adds ExpireDeleteMarker status to bucketLifecycleRule UI display (#3302) --- .../BucketDetails/BucketLifecyclePanel.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/web-app/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx b/web-app/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx index 3b931f6de1..4a3ce4ea7d 100644 --- a/web-app/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx +++ b/web-app/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx @@ -188,6 +188,21 @@ const BucketLifecyclePanel = () => { } }, }, + { + label: "Expire Delete Marker", + elementKey: "expire_delete_marker", + renderFunction: (el: LifeCycleItem) => { + if (!el) { + return ; + } + if (el.expiration && el.expiration.delete_marker !== undefined) { + return {el.expiration.delete_marker ? "true" : "false"}; + } else { + return ; + } + }, + renderFullObject: true, + }, { label: "Tier", elementKey: "storage_class",