Skip to content

Commit 1e4c8e4

Browse files
committed
fixup! feat(dref-translation): use finalize api in dref table and add view mode in all dref forms
1 parent 7a2923b commit 1e4c8e4

File tree

1 file changed

+1
-1
lines changed
  • app/src/views/DrefOperationalUpdateForm

1 file changed

+1
-1
lines changed

app/src/views/DrefOperationalUpdateForm/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export function Component() {
318318
const prevOperationalUpdateId = useMemo(() => {
319319
const currentOpsUpdate = drefResponse
320320
?.operational_update_details
321-
?.find((ou) => !(ou.status === DREF_STATUS_APPROVED));
321+
?.find((ou) => ou.status !== DREF_STATUS_APPROVED);
322322

323323
if (isNotDefined(currentOpsUpdate)) {
324324
return undefined;

0 commit comments

Comments
 (0)