fix: migrate prune policy options to oneof

This commit is contained in:
garethgeorge
2024-02-19 22:28:55 -08:00
parent bcad0e80e1
commit 65fe87475a
7 changed files with 680 additions and 207 deletions
-1
View File
@@ -490,7 +490,6 @@ const ForgetOperationDetails = ({ forgetOp }: { forgetOp: OperationForget }) =>
}
const RunHookOperationStatus = ({ op }: { op: Operation }) => {
if (op.op.case !== "operationRunHook") {
return <>Wrong operation type</>;
}