Skip to content

Commit

Permalink
Removed BoxInsulations from Pipetest (#877)
Browse files Browse the repository at this point in the history
Removed BoxInsulations from the Sidesheet.
  • Loading branch information
kjellhaaland authored Feb 23, 2024
1 parent 5db3ef6 commit dfce80a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
8 changes: 0 additions & 8 deletions libs/pipingsidesheet/src/lib/ui-sidesheet/InsultaionTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ export const InsultaionTab = ({
packages={insulationTags?.pipeInsulationTags}
resourceName="Pipe insulations"
/>
{insulationTags?.boxInsulationTags ? <h4>Box insulations:</h4> : ''}
<TabTable
columns={insulationsColumns}
error={error}
isFetching={isFetching}
packages={insulationTags?.boxInsulationTags}
resourceName="Insulation boxes"
/>
</StyledContentWrapper>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,7 @@ const PipingSidesheetContent = (props: Required<PipingProps>) => {
Insulation
<TabTitle
isLoading={isLoadingInsulationTags}
data={
insulationTags
? [
...insulationTags.boxInsulationTags,
...insulationTags.pipeInsulationTags,
]
: []
}
data={insulationTags ? insulationTags.pipeInsulationTags : []}
/>
</Tabs.Tab>
<Tabs.Tab>
Expand Down

0 comments on commit dfce80a

Please sign in to comment.