visuddhinanda 2 лет назад
Родитель
Сommit
4b1e647646
1 измененных файлов с 2 добавлено и 0 удалено
  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([]);
                 }
               }}
             />