Преглед на файлове

launch source section on all forms with hasSource=true

Justin Rhee преди 4 години
родител
ревизия
6e4f6df133
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

+ 1 - 1
dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

@@ -364,7 +364,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
   const renderCurrentPage = () => {
   const renderCurrentPage = () => {
     let { form, currentTab } = props;
     let { form, currentTab } = props;
 
 
-    if (currentPage === "source" && currentTab === "porter") {
+    if (currentPage === "source" && form?.hasSource) {
       return (
       return (
         <SourcePage
         <SourcePage
           sourceType={sourceType}
           sourceType={sourceType}