Browse Source

feat(lib): remove ngOnChanges

pull/6306/head
KenTandrian 2 months ago
parent
commit
1da5b8e764
  1. 7
      libs/ui/src/lib/holdings-table/holdings-table.component.ts

7
libs/ui/src/lib/holdings-table/holdings-table.component.ts

@ -11,7 +11,6 @@ import {
Component,
EventEmitter,
Input,
OnChanges,
OnDestroy,
Output,
computed,
@ -48,7 +47,7 @@ import { GfValueComponent } from '../value/value.component';
styleUrls: ['./holdings-table.component.scss'],
templateUrl: './holdings-table.component.html'
})
export class GfHoldingsTableComponent implements OnChanges, OnDestroy {
export class GfHoldingsTableComponent implements OnDestroy {
@Input() baseCurrency: string;
@Input() deviceType: string;
@Input() locale = getLocale();
@ -99,10 +98,6 @@ export class GfHoldingsTableComponent implements OnChanges, OnDestroy {
private readonly unsubscribeSubject = new Subject<void>();
public ngOnChanges() {
return;
}
public onOpenHoldingDialog({ dataSource, symbol }: AssetProfileIdentifier) {
if (this.hasPermissionToOpenDetails()) {
this.holdingClicked.emit({ dataSource, symbol });

Loading…
Cancel
Save