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

Loading…
Cancel
Save