From 84a5c2df98d94ab0c0969b928719b811fd646195 Mon Sep 17 00:00:00 2001 From: FitseTLT Date: Thu, 5 Sep 2024 23:17:31 +0300 Subject: [PATCH 1/2] revert private_isArchived on failureData --- src/libs/actions/Policy/Policy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/actions/Policy/Policy.ts b/src/libs/actions/Policy/Policy.ts index 018089ed62f0..1eab55fe13cc 100644 --- a/src/libs/actions/Policy/Policy.ts +++ b/src/libs/actions/Policy/Policy.ts @@ -377,6 +377,7 @@ function deleteWorkspace(policyID: string, policyName: string) { statusNum, oldPolicyName, policyName: report?.policyName, + private_isArchived: null, }, }); }); From c8228425b8d3cd67c528221e4a2467b074b07e30 Mon Sep 17 00:00:00 2001 From: FitseTLT Date: Fri, 6 Sep 2024 00:48:22 +0300 Subject: [PATCH 2/2] lint fix --- src/libs/actions/Policy/Policy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/actions/Policy/Policy.ts b/src/libs/actions/Policy/Policy.ts index 1eab55fe13cc..805393c3c153 100644 --- a/src/libs/actions/Policy/Policy.ts +++ b/src/libs/actions/Policy/Policy.ts @@ -377,6 +377,7 @@ function deleteWorkspace(policyID: string, policyName: string) { statusNum, oldPolicyName, policyName: report?.policyName, + // eslint-disable-next-line @typescript-eslint/naming-convention private_isArchived: null, }, });