Просмотр исходного кода

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

visuddhinanda 3 лет назад
Родитель
Сommit
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();
             },
           },