Skip to content

Commit

Permalink
fix(backoffice-v2): fixed wrong document images passed to director block
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy committed Jan 21, 2025
1 parent fe2a5bf commit d6c5257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export const useDefaultBlocksLogic = () => {
);

const directors = workflow?.context?.entity?.data?.additionalInfo?.directors?.map(
directorAdapter(directorsStorageFilesQueryResult),
directorAdapter(directorsDocumentPagesResults),
);
const revisionReasons =
workflow?.workflowDefinition?.contextSchema?.schema?.properties?.documents?.items?.properties?.decision?.properties?.revisionReason?.anyOf?.find(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const useKybExampleBlocksLogic = () => {
);

const directors = workflow?.context?.entity?.data?.additionalInfo?.directors?.map(
directorAdapter(directorsStorageFilesQueryResult),
directorAdapter(directorsDocumentPagesResults),
);
const revisionReasons =
workflow?.workflowDefinition?.contextSchema?.schema?.properties?.documents?.items?.properties?.decision?.properties?.revisionReason?.anyOf?.find(
Expand Down

0 comments on commit d6c5257

Please sign in to comment.