Преглед изворни кода

: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();
             },
           },