Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
b6cf95d4
Commit
b6cf95d4
authored
Jun 21, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skeleton fix
parent
5e28210d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SearchResultListItem.tsx
ui/searchResults/SearchResultListItem.tsx
+1
-1
SearchResultTableItem.tsx
ui/searchResults/SearchResultTableItem.tsx
+1
-1
No files found.
ui/searchResults/SearchResultListItem.tsx
View file @
b6cf95d4
...
@@ -70,7 +70,7 @@ const SearchResultListItem = ({ data, searchTerm, isLoading }: Props) => {
...
@@ -70,7 +70,7 @@ const SearchResultListItem = ({ data, searchTerm, isLoading }: Props) => {
wordBreak=
"break-all"
wordBreak=
"break-all"
isLoading=
{
isLoading
}
isLoading=
{
isLoading
}
>
>
<
Skeleton
isLoaded=
{
!
isLoading
}
dangerouslySetInnerHTML=
{
{
__html
:
highlightText
(
data
.
name
,
searchTerm
)
}
}
/>
<
span
dangerouslySetInnerHTML=
{
{
__html
:
highlightText
(
data
.
name
,
searchTerm
)
}
}
/>
</
LinkInternal
>
</
LinkInternal
>
</
Flex
>
</
Flex
>
);
);
...
...
ui/searchResults/SearchResultTableItem.tsx
View file @
b6cf95d4
...
@@ -107,7 +107,7 @@ const SearchResultTableItem = ({ data, searchTerm, isLoading }: Props) => {
...
@@ -107,7 +107,7 @@ const SearchResultTableItem = ({ data, searchTerm, isLoading }: Props) => {
wordBreak=
"break-all"
wordBreak=
"break-all"
isLoading=
{
isLoading
}
isLoading=
{
isLoading
}
>
>
<
Skeleton
isLoaded=
{
!
isLoading
}
dangerouslySetInnerHTML=
{
{
__html
:
highlightText
(
data
.
name
,
searchTerm
)
}
}
/>
<
span
dangerouslySetInnerHTML=
{
{
__html
:
highlightText
(
data
.
name
,
searchTerm
)
}
}
/>
</
LinkInternal
>
</
LinkInternal
>
</
Flex
>
</
Flex
>
</
Td
>
</
Td
>
...
...
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