Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Entwicklungsportal - ARCHIVED
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FIT-Connect
Entwicklungsportal - ARCHIVED
Commits
db69b111
Commit
db69b111
authored
1 year ago
by
René Rösner
Browse files
Options
Downloads
Patches
Plain Diff
Fix(
planning#831
): Fixed build error due to type mismatch
parent
b6153ba6
No related branches found
Branches containing commit
No related tags found
1 merge request
!89
planning#831: API spec ressources
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pages/resources/index.tsx
+5
-1
5 additions, 1 deletion
pages/resources/index.tsx
with
5 additions
and
1 deletion
pages/resources/index.tsx
+
5
−
1
View file @
db69b111
...
...
@@ -34,6 +34,10 @@ export default function ({ contentsString }) {
router
.
push
(
`?filter=
${
encodeURIComponent
(
filterToParams
())}
`
,
undefined
,
{
shallow
:
true
})
}
function
prepareShortDescription
(
service
:
ResourceContent
):
any
{
return
service
.
shortDescription
!==
''
?
remark
().
use
(
html
).
processSync
(
service
.
shortDescription
)
:
service
.
text
}
const
hasContentTag
=
(
content
:
ResourceContent
,
tagName
:
string
)
=>
{
const
tags
:
Tag
[]
=
content
.
tags
.
filter
(
tag
=>
tag
.
name
+
'
:
'
+
tag
.
value
===
tagName
)
return
tags
.
length
>
0
...
...
@@ -173,7 +177,7 @@ export default function ({ contentsString }) {
<
div
className
=
"mt-2 text-sm text-gray-700 space-y-4"
dangerouslySetInnerHTML
=
{
{
__html
:
service
.
shortDescription
!==
''
?
re
m
ar
k
().
use
(
html
).
processSync
(
service
.
s
hortDescription
)
:
service
.
text
,
__html
:
p
re
p
ar
eS
hortDescription
(
service
)
,
}
}
/>
<
div
className
=
"mt-6 flex justify-end space-x-8"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment