Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Culture
culture-views
Commits
53594359ff46
Commit
3ab20a7f
authored
Sep 23, 2020
by
Fabien Amarger
Browse files
fix: [localisation] Fix info type URI a key props
parent
f2a9b8f9ed35
Pipeline
#15095
failed with stages
in 3 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/localisation/localisation.tsx
View file @
53594359
...
@@ -92,7 +92,7 @@ export const BienCulturelInfo: React.FC<BienCulturelInfoProps> = (props) => {
...
@@ -92,7 +92,7 @@ export const BienCulturelInfo: React.FC<BienCulturelInfoProps> = (props) => {
<
h1
>
{
uri
!==
undefined
?
<
a
href
=
{
generateUrl
(
uri
)
}
>
{
label
}
</
a
>
:
label
}
</
h1
>
<
h1
>
{
uri
!==
undefined
?
<
a
href
=
{
generateUrl
(
uri
)
}
>
{
label
}
</
a
>
:
label
}
</
h1
>
<
h5
>
<
h5
>
{
urisLabel
.
map
(({
label
,
uri
})
=>
(
{
urisLabel
.
map
(({
label
,
uri
})
=>
(
<
a
href
=
{
generateUrl
(
uri
)
}
>
<
a
key
=
{
uri
}
href
=
{
generateUrl
(
uri
)
}
>
<
Badge
style
=
{
{
margin
:
'
5px
'
,
color
:
'
white
'
}
}
key
=
{
uri
}
variant
=
"primary"
>
<
Badge
style
=
{
{
margin
:
'
5px
'
,
color
:
'
white
'
}
}
key
=
{
uri
}
variant
=
"primary"
>
{
label
??
uri
}
{
label
??
uri
}
</
Badge
>
</
Badge
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment