visuddhinanda hace 3 años
padre
commit
4b1e647646
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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([]);
                 }
               }}
             />