Prechádzať zdrojové kódy

hide porter.yaml modal (#4298)

Co-authored-by: sunguroku <trevor@porter.run>
sunguroku 2 rokov pred
rodič
commit
8f41fb7090

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/preview-environments/deployments/DeploymentList.tsx

@@ -310,7 +310,7 @@ const DeploymentList = () => {
         disableLineBreak
         capitalize={false}
       />
-      {porterYAMLErrors.length > 0 ? (
+      {/* {porterYAMLErrors.length > 0 ? (
         <PorterYAMLBannerWrapper>
           <Banner type="warning">
             No porter.yaml file in the default branch.
@@ -323,7 +323,7 @@ const DeploymentList = () => {
             </LinkButton>
           </Banner>
         </PorterYAMLBannerWrapper>
-      ) : null}
+      ) : null} */}
       <FlexRow>
         <Flex>
           <SearchRowWrapper>