Added integration to UI
parent
a9a569f876
commit
00f19bd654
|
@ -10,7 +10,6 @@ import {InformationCircleIcon} from '@heroicons/react/outline';
|
|||
export default function Home({ integrations }) {
|
||||
const [session, loading] = useSession();
|
||||
const [showAddModal, setShowAddModal] = useState(false);
|
||||
|
||||
if (loading) {
|
||||
return <p className="text-gray-400">Loading...</p>;
|
||||
}
|
||||
|
@ -220,6 +219,13 @@ export async function getServerSideProps(context) {
|
|||
title: "Office 365 / Outlook.com Calendar",
|
||||
imageSrc: "integrations/office-365.png",
|
||||
description: "For personal and business accounts",
|
||||
}, {
|
||||
installed: !!(process.env.ZOOM_CLIENT_ID && process.env.ZOOM_CLIENT_SECRET),
|
||||
type: "zoom",
|
||||
credential: credentials.find( (integration) => integration.type === "zoom" ) || null,
|
||||
title: "Zoom",
|
||||
imageSrc: "integrations/zoom.png",
|
||||
description: "For personal and business accounts",
|
||||
} ];
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue