Skip to content

Commit

Permalink
PSP-9354 fix (#4499)
Browse files Browse the repository at this point in the history
Co-authored-by: Alejandro Sanchez <[email protected]>
  • Loading branch information
stairaku and asanchezr authored Nov 26, 2024
1 parent fa9941d commit 4eb25e6
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ export const ConsultationListView: React.FunctionComponent<IConsultationListView
</StyledConsultationHeader>
}
noPadding
isCollapsable={!group.hasItems}
initiallyExpanded={group.hasItems}
isCollapsable={true}
initiallyExpanded={false}
>
{group.consultations.map((consultation, index) => (
<StyledBorder key={`consultation-section-${index}`}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,35 @@ exports[`ConsultationListView component > renders as expected 1`] = `
</div>
</div>
</div>
<div
class="pl-8 d-flex align-items-end col-auto"
>
<svg
class="c9"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title>
expand-section
</title>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="m7 10 5 5 5-5z"
/>
</svg>
</div>
</div>
</h2>
<div
class="collapse show"
class="collapse"
>
<p
class="pl-2"
Expand Down Expand Up @@ -467,10 +492,35 @@ exports[`ConsultationListView component > renders as expected 1`] = `
</div>
</div>
</div>
<div
class="pl-8 d-flex align-items-end col-auto"
>
<svg
class="c9"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title>
expand-section
</title>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="m7 10 5 5 5-5z"
/>
</svg>
</div>
</div>
</h2>
<div
class="collapse show"
class="collapse"
>
<p
class="pl-2"
Expand Down Expand Up @@ -505,10 +555,35 @@ exports[`ConsultationListView component > renders as expected 1`] = `
</div>
</div>
</div>
<div
class="pl-8 d-flex align-items-end col-auto"
>
<svg
class="c9"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title>
expand-section
</title>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="m7 10 5 5 5-5z"
/>
</svg>
</div>
</div>
</h2>
<div
class="collapse show"
class="collapse"
>
<p
class="pl-2"
Expand Down Expand Up @@ -543,10 +618,35 @@ exports[`ConsultationListView component > renders as expected 1`] = `
</div>
</div>
</div>
<div
class="pl-8 d-flex align-items-end col-auto"
>
<svg
class="c9"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title>
expand-section
</title>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="m7 10 5 5 5-5z"
/>
</svg>
</div>
</div>
</h2>
<div
class="collapse show"
class="collapse"
>
<p
class="pl-2"
Expand Down Expand Up @@ -1136,10 +1236,35 @@ exports[`ConsultationListView component > renders as expected 1`] = `
</div>
</div>
</div>
<div
class="pl-8 d-flex align-items-end col-auto"
>
<svg
class="c9"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title>
expand-section
</title>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="m7 10 5 5 5-5z"
/>
</svg>
</div>
</div>
</h2>
<div
class="collapse show"
class="collapse"
>
<p
class="pl-2"
Expand Down Expand Up @@ -1174,10 +1299,35 @@ exports[`ConsultationListView component > renders as expected 1`] = `
</div>
</div>
</div>
<div
class="pl-8 d-flex align-items-end col-auto"
>
<svg
class="c9"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<title>
expand-section
</title>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="m7 10 5 5 5-5z"
/>
</svg>
</div>
</div>
</h2>
<div
class="collapse show"
class="collapse"
>
<p
class="pl-2"
Expand Down

0 comments on commit 4eb25e6

Please sign in to comment.