Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
feat: empty selected resource when search resource (#1423)
CorrectRoadH526fbbba453f
diff --git a/web/src/pages/ResourcesDashboard.tsx b/web/src/pages/ResourcesDashboard.tsxindex bdc63325a..7be16069b 100644--- a/web/src/pages/ResourcesDashboard.tsx+++ b/web/src/pages/ResourcesDashboard.tsx@@ -150,6 +150,11 @@ const ResourcesDashboard = () => {toast.success(t("message.succeed-copy-resource-link"));};+ const handleSearchResourceInputChange = (query: string) => {+ setQueryText(query);+ setSelectedList([]);+ };+const resourceList = useMemo(() =>resources@@ -233,7 +238,7 @@ const ResourcesDashboard = () => {<p className="flex flex-row justify-start items-center select-none rounded"><Icon.Paperclip className="w-5 h-auto mr-1" /> {t("common.resources")}</p>- <ResourceSearchBar setQuery={setQueryText} />+ <ResourceSearchBar setQuery={handleSearchResourceInputChange} /></div><div className="w-full flex flex-row justify-end items-center space-x-2 mt-3 z-1">{isVisible && (