fix: failed forget operations are hidden in the UI

This commit is contained in:
Gareth
2023-12-31 01:37:07 -08:00
committed by GitHub
parent fad499ef34
commit 9896446ccf
+1 -4
View File
@@ -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 = <ForgetOperationDetails forgetOp={forgetOp} />
} else if (operation.op.case === "operationPrune") {
const prune = operation.op.value;
@@ -480,4 +477,4 @@ const ForgetOperationDetails = ({ forgetOp }: { forgetOp: OperationForget }) =>
]}
/>
);
}
}