From 9896446ccfbcb8475a21b5fb565ebb73cb6bac2c Mon Sep 17 00:00:00 2001 From: Gareth Date: Sun, 31 Dec 2023 01:37:07 -0800 Subject: [PATCH] fix: failed forget operations are hidden in the UI --- webui/src/components/OperationList.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webui/src/components/OperationList.tsx b/webui/src/components/OperationList.tsx index 57309b25..710ad821 100644 --- a/webui/src/components/OperationList.tsx +++ b/webui/src/components/OperationList.tsx @@ -240,9 +240,6 @@ export const OperationRow = ({ ); } else if (operation.op.case === "operationForget") { const forgetOp = operation.op.value; - if (forgetOp.forget?.length === 0) { - return null; - } body = } else if (operation.op.case === "operationPrune") { const prune = operation.op.value; @@ -480,4 +477,4 @@ const ForgetOperationDetails = ({ forgetOp }: { forgetOp: OperationForget }) => ]} /> ); -} \ No newline at end of file +}