Skip to content

Commit

Permalink
fix: broken codelist links in Studio to Altinn docs (#14447)
Browse files Browse the repository at this point in the history
  • Loading branch information
lassopicasso authored Jan 20, 2025
1 parent d747705 commit 026ec9d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function EditCodeList({ component, handleComponentChange }: IGenericEditC
<p style={{ marginBottom: 0 }}>
<Trans i18nKey={'ux_editor.modal_properties_code_list_read_more'}>
<a
href={altinnDocsUrl({ relativeUrl: 'altinn-studio/reference/data/options/' })}
href={altinnDocsUrl({ relativeUrl: 'altinn-studio/guides/development/options/' })}
target='_newTab'
rel='noopener noreferrer'
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ export function ReferenceTab({
<p>
<Trans i18nKey={'ux_editor.modal_properties_code_list_read_more'}>
<a
href={altinnDocsUrl({ relativeUrl: 'altinn-studio/guides/options/dynamic-codelists/' })}
href={altinnDocsUrl({
relativeUrl: 'altinn-studio/guides/development/options/sources/dynamic/',
})}
target='_newTab'
rel='noopener noreferrer'
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function SelectTab<T extends SelectionComponentType>({
<a
className={classes.linkStaticCodeLists}
href={altinnDocsUrl({
relativeUrl: 'altinn-studio/reference/data/options/static-codelists/',
relativeUrl: 'altinn-studio/guides/development/options/sources/static/',
})}
target='_newTab'
rel='noopener noreferrer'
Expand Down

0 comments on commit 026ec9d

Please sign in to comment.