Jelajahi Sumber

cloud porter run (#4455)

jusrhee 2 tahun lalu
induk
melakukan
0656e99038
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      dashboard/src/main/auth/Login.tsx

+ 3 - 1
dashboard/src/main/auth/Login.tsx

@@ -126,7 +126,9 @@ const Login: React.FC<Props> = ({ authenticate }) => {
             <a href="https://porter.run">
               <Logo src={logo} />
             </a>
-            <Badge>Cloud</Badge>
+            {window.location.hostname === "cloud.porter.run" && (
+              <Badge>Cloud</Badge>
+            )}
           </Container>
           <Spacer y={2} />
           <Jumbotron>