diff --git a/web/components/RoomConfigView.tsx b/web/components/RoomConfigView.tsx index b0aef57f..944224a7 100644 --- a/web/components/RoomConfigView.tsx +++ b/web/components/RoomConfigView.tsx @@ -6,6 +6,7 @@ import style from "./RoomConfigView.module.scss"; import { ConnectionCard } from "./ConnectionCard"; import { GenericWebhookConfig } from "./roomConfig/GenericWebhookConfig"; import { GitlabRepoConfig } from "./roomConfig/GitlabRepoConfig"; +import { GitHubRepoConfig } from "./roomConfig/GitHubRepoConfig"; interface IProps { @@ -16,7 +17,7 @@ interface IProps { } export default function RoomConfigView(props: IProps) { - const [ activeConnectionType, setActiveConnectionType ] = useState(null); + const [ activeConnectionType, setActiveConnectionType ] = useState(null); let content; @@ -24,24 +25,25 @@ export default function RoomConfigView(props: IProps) { content = <> {activeConnectionType === "generic" && } {activeConnectionType === "gitlab" && } + {activeConnectionType === "github" && } ; } else { content = <>

Integrations

- {props.supportedServices["generic"] && setActiveConnectionType("generic")} + {props.supportedServices.github && setActiveConnectionType("github")} />} - {props.supportedServices["gitlab"] && setActiveConnectionType("gitlab")} />} - {props.supportedServices["generic"] &&