visuddhinanda 3 years ago
parent
commit
4b1e647646
1 changed files with 2 additions and 0 deletions
  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([]);
                 }
               }}
             />