Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class TosConsentBannerComponent {
* if user is authenticated we check whether is accepted terms of service to hide banner or show if not
* otherwise user is not authenticated we hide banner always
*/
return user ? user.acceptedTermsOfService : true;
return user?.id ? user.acceptedTermsOfService : true;
});

/**
Expand Down
Loading