Skip to content

Commit

Permalink
PSP-9292 : FT: Approval / Consultations: Count is displayed on the se…
Browse files Browse the repository at this point in the history
…ction (#4377)

Co-authored-by: Herrera <[email protected]>
Co-authored-by: Alejandro Sanchez <[email protected]>
  • Loading branch information
3 people authored Oct 6, 2024
1 parent 16b37f7 commit 50a9839
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 110 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import { mockLookups } from '@/mocks/lookups.mock';
import { lookupCodesSlice } from '@/store/slices/lookupCodes';
import {
act,
findByTitle,
getByTestId,
getByTitle,
mockKeycloak,
render,
RenderOptions,
userEvent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ export const ConsultationListView: React.FunctionComponent<IConsultationListView
<span className="px-2">{group.consultationTypeDescription}</span>
{getOutcomeIcon(group.consultations)}
</Col>
<Col className="px-0">
{group.consultations.length > 0 && (
<StyledIconWrapper>{group.consultations.length}</StyledIconWrapper>
)}
</Col>
</StyledConsultationHeader>
}
noPadding
Expand Down Expand Up @@ -239,20 +234,6 @@ const StyledBorder = styled.div`
border-radius: 0.5rem;
`;

const StyledIconWrapper = styled.div`
background-color: ${props => props.theme.css.activeActionColor};
color: white;
font-size: 1.4rem;
border-radius: 50%;
opacity: 0.8;
width: 2.2rem;
height: 2.2rem;
padding: 1rem;
display: flex;
justify-content: center;
align-items: center;
`;

const StyledConsultationHeader = styled(Row)`
svg.info {
color: ${props => props.theme.bcTokens.surfaceColorBackgroundDarkBlue};
Expand Down
Loading

0 comments on commit 50a9839

Please sign in to comment.