Browse Source

code review changes

pull/5192/head
Attila Cseh 1 month ago
parent
commit
f2cf1868fa
  1. 4
      libs/ui/src/lib/entity-logo/entity-logo-image-source.service.ts
  2. 1
      libs/ui/src/lib/entity-logo/entity-logo.component.ts

4
libs/ui/src/lib/entity-logo/entity-logo-image-source.service.ts

@ -1,9 +1,7 @@
import { Injectable } from '@angular/core';
import { DataSource } from '@prisma/client';
@Injectable({
providedIn: 'root'
})
@Injectable()
export class EntityLogoImageSourceService {
public getLogoUrlByDataSourceAndSymbol(
dataSource: DataSource,

1
libs/ui/src/lib/entity-logo/entity-logo.component.ts

@ -13,6 +13,7 @@ import { DataSource } from '@prisma/client';
@Component({
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [CommonModule],
providers: [EntityLogoImageSourceService],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
selector: 'gf-entity-logo',
styleUrls: ['./entity-logo.component.scss'],

Loading…
Cancel
Save