Fix UI performance issue on Windows

This commit is contained in:
Daniel 2024-04-18 13:51:05 +02:00
parent e957b90b13
commit 2d45a1c712

View file

@ -261,6 +261,14 @@ export class AppIconComponent implements OnInit, OnDestroy {
case 'api':
return of(`${this.httpAPI}/v1/profile/icon/${firstIcon.Value}`);
case 'path':
// TODO: Silently ignore for now.
return of('');
case '':
// Icon is not set.
return of('');
default:
console.error(`Icon type ${firstIcon.Type} not yet supported`);
}