fix: branding is always disabled for pro (#754)

* add jwt secret

* fix `isBrandingHidden`

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Alex JohanssonandPeer Richelsen authored and GitHub committed 2021-09-23 15:25:34 +00:00
1 parent 7574c322c4
commit 790ed3e6b1
2 files changed
+2 -2

No files matched your search

@@ -216,7 +216,7 @@ const AvailabilityPage = ({ profile, eventType, workingHours }: AvailabilityPage
)}
</div>
</div>
{eventType.users.length && isBrandingHidden(eventType.users[0]) && <PoweredByCalendso />}
{(!eventType.users[0] || !isBrandingHidden(eventType.users[0])) && <PoweredByCalendso />}
</main>
</div>
</>