Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SSHOC
sshoc-marketplace-frontend
Commits
b2e900c6
Commit
b2e900c6
authored
Jun 30, 2021
by
Stefan Probst
Browse files
chore: improve nothing found messages
parent
529ae78c
Pipeline
#208152
passed with stages
in 15 minutes and 22 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/screens/account/ActorsScreen.tsx
View file @
b2e900c6
...
...
@@ -119,7 +119,7 @@ export default function ActorsScreen(): JSX.Element {
<
ItemPagination
filter
=
{
query
}
results
=
{
actors
.
data
}
/>
</
div
>
{
actors
.
data
.
actors
?.
length
===
0
?
(
<
div
>
No
thing
found
</
div
>
<
div
>
No
actors
found
.
</
div
>
)
:
(
<
ul
className
=
"space-y-2.5"
>
{
actors
.
data
.
actors
?.
map
((
actor
)
=>
{
...
...
src/screens/account/ContributedItemsScreen.tsx
View file @
b2e900c6
...
...
@@ -95,7 +95,7 @@ export default function ContributedItemsScreen(): JSX.Element {
{
items
.
data
===
undefined
?
(
<
ProgressSpinner
/>
)
:
items
.
data
.
items
?.
length
===
0
?
(
<
div
>
Nothing
found
</
div
>
<
div
>
Nothing
contributed yet.
</
div
>
)
:
(
<
Fragment
>
<
div
className
=
"flex items-center justify-between"
>
...
...
src/screens/account/ModerateItemsScreen.tsx
View file @
b2e900c6
...
...
@@ -90,7 +90,7 @@ export default function ModerateItemsScreen(): JSX.Element {
{
items
.
data
===
undefined
?
(
<
ProgressSpinner
/>
)
:
items
.
data
.
items
?.
length
===
0
?
(
<
div
>
Nothing
found
</
div
>
<
div
>
Nothing
to moderate.
</
div
>
)
:
(
<
Fragment
>
<
div
className
=
"flex items-center justify-between"
>
...
...
src/screens/account/SourcesScreen.tsx
View file @
b2e900c6
...
...
@@ -131,7 +131,7 @@ export default function SourcesScreen(): JSX.Element {
<
ItemPagination
filter
=
{
query
}
results
=
{
sources
.
data
}
/>
</
div
>
{
sources
.
data
.
sources
?.
length
===
0
?
(
<
div
>
No
thing
found
</
div
>
<
div
>
No
source
found
.
</
div
>
)
:
(
<
ul
className
=
"space-y-2.5"
>
{
sources
.
data
.
sources
?.
map
((
source
)
=>
{
...
...
src/screens/account/UsersScreen.tsx
View file @
b2e900c6
...
...
@@ -120,7 +120,7 @@ export default function UsersScreen(): JSX.Element {
<
ItemPagination
filter
=
{
query
}
results
=
{
users
.
data
}
/>
</
div
>
{
users
.
data
.
users
?.
length
===
0
?
(
<
div
>
No
thing
found
</
div
>
<
div
>
No
users
found
.
</
div
>
)
:
(
<
ul
className
=
"space-y-2.5"
>
{
users
.
data
.
users
?.
map
((
user
)
=>
{
...
...
src/screens/item/ItemHistory.tsx
View file @
b2e900c6
...
...
@@ -42,7 +42,7 @@ export function ItemHistory(props: ItemHistoryProps): JSX.Element {
}
if
(
itemHistory
.
data
===
undefined
)
{
return
<
p
>
No
thing
found
</
p
>
return
<
p
>
No
versions
found
.
</
p
>
}
return
(
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment