fixed user profile update and file workload issue

This commit is contained in:
Timo 2021-06-24 13:24:02 +03:00
parent 8fb02f60c7
commit 718abab5b7

View File

@ -46,7 +46,7 @@ export class InitialsAvatarComponent implements OnChanges {
return this.user && this._userService.userId === this.user.userId;
}
ngOnChanges(changes: SimpleChanges): void {
ngOnChanges(): void {
const isSystemUser = this.userId && this.userId.toLowerCase() === 'system';
if (isSystemUser) {
this.displayName = 'System';