Skip to content

Commit

Permalink
refactor(backoffice-v2): removed nesting level of data property (#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy authored Nov 8, 2023
1 parent 769416b commit 1292e0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ export const useTasks = ({
alternativeNames: sanction?.entity?.otherNames,
places: sanction?.entity?.places,
}));
const ubos = pluginsOutput?.ubo?.data?.data?.uboGraph?.map(ubo => ({
const ubos = pluginsOutput?.ubo?.data?.uboGraph?.map(ubo => ({
name: ubo?.name,
percentage: ubo?.shareHolders?.[0]?.sharePercentage,
type: ubo?.type,
Expand Down

0 comments on commit 1292e0e

Please sign in to comment.