visuddhinanda 3 ani în urmă
părinte
comite
4b1e647646
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      dashboard/src/pages/library/community/list.tsx

+ 2 - 0
dashboard/src/pages/library/community/list.tsx

@@ -27,6 +27,8 @@ const Widget = () => {
               onChange={(key: string[], path: string[]) => {
                 if (key.length > 0) {
                   setTags(key[0].split(","));
+                } else {
+                  setTags([]);
                 }
               }}
             />