Browse Source

默认类型instance

visuddhinanda 1 năm trước cách đây
mục cha
commit
1398b83c8e

+ 3 - 3
dashboard-v4/dashboard/src/components/task/ProjectCreate.tsx

@@ -19,9 +19,9 @@ interface IWidgetCourseCreate {
   type?: TProjectType;
   type?: TProjectType;
   onCreate?: Function;
   onCreate?: Function;
 }
 }
-const TaskCreate = ({
+const ProjectCreate = ({
   studio = "",
   studio = "",
-  type = "workflow",
+  type = "instance",
   onCreate,
   onCreate,
 }: IWidgetCourseCreate) => {
 }: IWidgetCourseCreate) => {
   const intl = useIntl();
   const intl = useIntl();
@@ -72,4 +72,4 @@ const TaskCreate = ({
   );
   );
 };
 };
 
 
-export default TaskCreate;
+export default ProjectCreate;