We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a2923b commit 1e4c8e4Copy full SHA for 1e4c8e4
app/src/views/DrefOperationalUpdateForm/index.tsx
@@ -318,7 +318,7 @@ export function Component() {
318
const prevOperationalUpdateId = useMemo(() => {
319
const currentOpsUpdate = drefResponse
320
?.operational_update_details
321
- ?.find((ou) => !(ou.status === DREF_STATUS_APPROVED));
+ ?.find((ou) => ou.status !== DREF_STATUS_APPROVED);
322
323
if (isNotDefined(currentOpsUpdate)) {
324
return undefined;
0 commit comments