Skip to content

Commit

Permalink
Fix bg-error
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 committed Jul 11, 2024
1 parent 2c62ddb commit b25398b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/new/widget/page/projects/CatalogImport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ return (
{Search}
{projects === null ? (
<>
<div className="error-bg p-3 h6 rounded-3">Loading projects...</div>
<div className="bg-secondary text-white p-3 h6 rounded-3">Loading projects...</div>
</>
) : (
<>
{Object.keys(filteredProjects).length === 0 && (
<div className="error-bg p-3 h6 rounded-3">
<div className="bg-secondary text-white p-3 h6 rounded-3">
{searchTerm
? "No projects were found for your search query."
? `No projects were found for your search query "${searchTerm}".`
: "Network issue: Couldn't fetch any projects, please try again later."}
</div>
)}
Expand Down

0 comments on commit b25398b

Please sign in to comment.