Skip to content

Commit

Permalink
BUGFIX: Don’t show empty searchterm in fallback message for an empty …
Browse files Browse the repository at this point in the history
…asset list
  • Loading branch information
Sebobo committed Jun 29, 2023
1 parent 0a27790 commit 3b5be95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Main: React.FC = () => {
<LoadingLabel
loadingText={translate('assetList.loading', 'Loading assets')}
emptyText={
searchTerm
searchTerm?.toString()
? translate('assetList.emptyForSearchTerm', `No assets found for "${searchTerm}"`, {
searchTerm,
})
Expand Down

0 comments on commit 3b5be95

Please sign in to comment.