瀏覽代碼

:bug: 切换协作时清空studio过滤器

visuddhinanda 3 年之前
父節點
當前提交
b826e66a8a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      dashboard/src/pages/studio/channel/list.tsx

+ 1 - 0
dashboard/src/pages/studio/channel/list.tsx

@@ -483,6 +483,7 @@ const Widget = () => {
             onChange(key) {
               console.log("show course", key);
               setActiveKey(key);
+              setCollaborator(undefined);
               ref.current?.reload();
             },
           },