fix: empty event type array if no username (#25178)
Co-authored-by: Morgan <[email protected]>
This commit is contained in:
1 parent
74af23136c
commit
801ba50221
2 files changed
+13
-2
No files matched your search
@@ -263,6 +263,10 @@ export class EventTypesService_2024_06_14 {
|
||||
return [dynamicEventType];
|
||||
}
|
||||
|
||||
if (authUser?.id) {
|
||||
return await this.getUserEventTypes(authUser.id);
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user