Skip to content

Commit

Permalink
the uggo is temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrabian committed Jan 7, 2025
1 parent 9ca04e0 commit b8c502a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions services/ui-src/src/components/reports/DrawerReportPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ export const DrawerReportPage = ({ route, validateOnRender }: Props) => {
}
let referenceForm = form;
if (
selectedEntity?.id &&
isAnalysisMethodsPage &&
!getDefaultAnalysisMethodIds().includes(selectedEntity?.id)
!getDefaultAnalysisMethodIds().includes(selectedEntity.id)
) {
referenceForm = addEntityDrawerForm!;
}
Expand Down Expand Up @@ -280,8 +281,9 @@ export const DrawerReportPage = ({ route, validateOnRender }: Props) => {
drawerInfo: verbiage.drawerInfo,
}}
form={
selectedEntity?.id &&
isAnalysisMethodsPage &&
!getDefaultAnalysisMethodIds().includes(selectedEntity?.id)
!getDefaultAnalysisMethodIds().includes(selectedEntity.id)
? addEntityDrawerForm!
: form
}
Expand Down

0 comments on commit b8c502a

Please sign in to comment.