chore: Removing away (DB related, not slot related) from code (#14673)

* chore: Removing away (DB related, not slot related) from code

* Remove more isAway/away, eg. references
This commit is contained in:
Alex van Andel authored and GitHub committed 2024-04-20 02:23:34 +01:00
1 parent 8904f20eb8
commit a15cad4d03
20 files changed
+1 -97

No files matched your search

@@ -52,7 +52,6 @@ async function getUserPageProps(context: GetServerSidePropsContext) {
});
let name: string;
let isAway = false;
let hideBranding = false;
const notFound = {
@@ -96,7 +95,6 @@ async function getUserPageProps(context: GetServerSidePropsContext) {
}
name = username;
isAway = user.away;
hideBranding = user.hideBranding;
}
@@ -129,7 +127,6 @@ async function getUserPageProps(context: GetServerSidePropsContext) {
eventData.length
),
booking,
away: isAway,
user: name,
slug,
trpcState: ssr.dehydrate(),
@@ -89,7 +89,6 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
metadata: eventData.metadata,
},
booking,
away: false,
user: teamSlug,
teamId: team.id,
slug: meetingSlug,