Unverified Commit 6b703c46 authored by CorrectRoadH's avatar CorrectRoadH Committed by GitHub

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: 's avatarboojack <stevenlgtm@gmail.com>

---------
Co-authored-by: 's avatarboojack <stevenlgtm@gmail.com>
parent dbb095ff
......@@ -305,7 +305,7 @@ const ResourcesDashboard = () => {
<span></span>
</div>
)}
{resources.length === 0 ? (
{resourceList.length === 0 ? (
<p className="w-full text-center text-base my-6 mt-8">{t("resources.no-resources")}</p>
) : (
resourceList
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment