mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +03: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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user