mirror of
https://github.com/usememos/memos.git
synced 2025-11-09 17:01:36 +08:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue