Fix crash due to some props being undefined (#4427)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Hariom Balharaandkodiakhq[bot] authored and GitHub committed 2022-09-14 08:46:42 +00:00
1 parent ab4d910564
commit 2f9905e548
3 files changed
+9 -5

No files matched your search

@@ -120,11 +120,11 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
.map((app) => {
return {
slug: app.slug,
title: app.title,
title: app.title || app.name,
logo: app.logo,
description: app.description,
credentialId: app.credentials[0].id,
isGlobal: app.isGlobal,
isGlobal: app.isGlobal || false,
};
});