mirror of
https://github.com/safing/portmaster
synced 2025-04-17 09:29:09 +00:00
Fix UI performance issue on Windows
This commit is contained in:
parent
e957b90b13
commit
2d45a1c712
1 changed files with 8 additions and 0 deletions
|
@ -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`);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue