feat: add empty placeholder when search result is empty (#1416)
* feat: add empty placeholder when search result is empty * Update web/src/pages/ResourcesDashboard.tsx Co-authored-by: boojack <stevenlgtm@gmail.com> --------- Co-authored-by: boojack <stevenlgtm@gmail.com>
This commit is contained in:
parent
dbb095fff4
commit
6b703c4678
@ -305,7 +305,7 @@ const ResourcesDashboard = () => {
|
|||||||
<span></span>
|
<span></span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{resources.length === 0 ? (
|
{resourceList.length === 0 ? (
|
||||||
<p className="w-full text-center text-base my-6 mt-8">{t("resources.no-resources")}</p>
|
<p className="w-full text-center text-base my-6 mt-8">{t("resources.no-resources")}</p>
|
||||||
) : (
|
) : (
|
||||||
resourceList
|
resourceList
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user