Skip to content

Commit

Permalink
Merge pull request #129 from virtualidentityag/fix/DIAKONIE-399-agenc…
Browse files Browse the repository at this point in the history
…y-link-mobile

fix(DIAKONIE-399): case of no topic id being passed
  • Loading branch information
Leandro13Silva13 authored Sep 17, 2024
2 parents f05914b + 87f0c7c commit 545f558
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo "127.0.0.1 localhost" | sudo tee -a /etc/hosts
echo "fs.inotify.max_user_watches=524288" | sudo tee -a /etc/sysctl.conf
npm run test:build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: buildfiles
path: build/**/*
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download buildfiles artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: buildfiles
path: build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,28 +155,30 @@ export const PreselectionDrawer = () => {
/>
) : (
<>
<Typography
sx={{
color: 'white',
fontWeight: '600',
mt: '24px'
}}
>
{t('registration.topic.summary')}
</Typography>
{preselectedTopic || hasTopicError ? (
<Typography
sx={{
color: 'white',
fontWeight: '600',
mt: '24px'
}}
>
{t('registration.topic.summary')}
</Typography>
) : null}
{hasTopicError ? (
<PreselectionError
errorMessage={t(
'registration.errors.tid'
)}
/>
) : (
) : preselectedAgency ? (
<Typography
sx={{ color: 'white', mt: '8px' }}
>
{preselectedTopic.name}
{preselectedTopic?.name}
</Typography>
)}
) : null}
<Typography
sx={{
color: 'white',
Expand Down

0 comments on commit 545f558

Please sign in to comment.