Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2025-02-12 #10322

Merged
merged 9 commits into from
Feb 12, 2025
2 changes: 1 addition & 1 deletion back/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ GEM
activerecord (>= 7)
net-http (0.6.0)
uri
net-imap (0.5.5)
net-imap (0.5.6)
date
net-protocol
net-pop (0.1.2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ const CLSurveyPageLayout = memo(

const pageVariant = getPageVariant(currentStep, uiPages.length);
const hasPreviousPage = currentStep !== 0;
const showSubmissionReference =
ideaId && pageVariant === 'after-submission' && showIdeaIdInModal;

const draggableDivRef = useRef<HTMLDivElement>(null);
const dragDividerRef = useRef<HTMLDivElement>(null);
Expand Down Expand Up @@ -402,7 +404,7 @@ const CLSurveyPageLayout = memo(
height="100%"
mt={isMapPage && isMobileOrSmaller ? '20px' : undefined}
>
<Box h="100%" display="flex">
<Box h="100%" display="flex" flexDirection="column">
{uiPages.map((page, index) => {
const pageElements = extractElementsByOtherOptionLogic(
page,
Expand Down Expand Up @@ -471,10 +473,17 @@ const CLSurveyPageLayout = memo(
)
);
})}
{showSubmissionReference && (
<Box
display="flex"
flexDirection="column"
alignItems="center"
flex="1"
>
<SubmissionReference ideaId={ideaId} />
</Box>
)}
</Box>
{ideaId &&
pageVariant === 'after-submission' &&
showIdeaIdInModal && <SubmissionReference ideaId={ideaId} />}
</Box>
</Box>
</Box>
Expand Down
Loading
Loading