|
|
@ -86,6 +86,10 @@ export class AdminSettingsComponent implements OnDestroy, OnInit { |
|
|
|
this.initialize(); |
|
|
|
} |
|
|
|
|
|
|
|
public isGhostfolioDataProvider(provider: DataProviderInfo): boolean { |
|
|
|
return provider.dataSource === 'GHOSTFOLIO'; |
|
|
|
} |
|
|
|
|
|
|
|
public onRemoveGhostfolioApiKey() { |
|
|
|
this.notificationService.confirm({ |
|
|
|
confirmFn: () => { |
|
|
@ -122,10 +126,6 @@ export class AdminSettingsComponent implements OnDestroy, OnInit { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public isGhostfolioDataProvider(provider: DataProviderInfo): boolean { |
|
|
|
return provider.dataSource === 'GHOSTFOLIO'; |
|
|
|
} |
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
|
this.unsubscribeSubject.next(); |
|
|
|
this.unsubscribeSubject.complete(); |
|
|
|