Update eaghash

This commit is contained in:
zkldi
2021-11-17 17:35:37 +00:00
parent 008bd08ac8
commit 97955730e0
2 changed files with 12 additions and 3 deletions
@@ -614,12 +614,15 @@ function ServicesPage({ reqUser }: { reqUser: PublicUserDocument }) {
);
}
const [page, setPage] = useState<"fervidex" | "arc">("fervidex");
const [page, setPage] = useState<"fervidex" | "arc" | "flo" | "eag" | "min">("fervidex");
return (
<Row className="text-center justify-content-center">
<Col xs={12}>
<h3>Service Configuration</h3>
<span>
This is for <b>Configuring Integrations!</b>
</span>
<Muted>
Some services have had their names truncated to their first three characters for
privacy reasons.
@@ -639,8 +642,14 @@ function ServicesPage({ reqUser }: { reqUser: PublicUserDocument }) {
</Col>
{page === "fervidex" ? (
<FervidexIntegrationPage reqUser={reqUser} />
) : (
) : page === "arc" ? (
<ARCIntegrationPage reqUser={reqUser} />
) : page === "flo" ? (
<></>
) : page === "eag" ? (
<></>
) : (
<></>
)}
</Row>
);
+1 -1
View File
@@ -145,7 +145,7 @@ export default function ImportRoutes() {
</Route>
<Route exact path="/dashboard/import/sdvx-eag">
<KAIIntegrationPage
hash="7745e8a7f20d9493d537df507124d8d719bf1d32afcd3cf4f94af53b3dcd7ac9"
hash="0451a33ffc7f8b0c089450d842efb8b7099e22a2df2251ae4e6d9ec1b3cb4a5f"
clientID={process.env.REACT_APP_EAG_CLIENT_ID ?? ""}
redirectUri={`${window.location.origin}/oauth2-callback/eag`}
kaiType="EAG"