Browse Source
Task/reorder lifecycle hooks in various components (#5919)
* Reorder lifecycle hooks
pull/5904/head^2
Thomas Kaul
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
4 additions and
4 deletions
-
apps/client/src/app/components/admin-market-data/create-asset-profile-dialog/create-asset-profile-dialog.component.ts
-
apps/client/src/app/components/admin-platform/admin-platform.component.ts
-
apps/client/src/app/components/admin-tag/admin-tag.component.ts
-
apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/create-watchlist-item-dialog.component.ts
|
|
|
@ -53,7 +53,7 @@ import { CreateAssetProfileDialogMode } from './interfaces/interfaces'; |
|
|
|
styleUrls: ['./create-asset-profile-dialog.component.scss'], |
|
|
|
templateUrl: 'create-asset-profile-dialog.html' |
|
|
|
}) |
|
|
|
export class GfCreateAssetProfileDialogComponent implements OnInit, OnDestroy { |
|
|
|
export class GfCreateAssetProfileDialogComponent implements OnDestroy, OnInit { |
|
|
|
public createAssetProfileForm: FormGroup; |
|
|
|
public ghostfolioPrefix = `${ghostfolioPrefix}_`; |
|
|
|
public mode: CreateAssetProfileDialogMode; |
|
|
|
|
|
|
|
@ -51,7 +51,7 @@ import { CreateOrUpdatePlatformDialogParams } from './create-or-update-platform- |
|
|
|
styleUrls: ['./admin-platform.component.scss'], |
|
|
|
templateUrl: './admin-platform.component.html' |
|
|
|
}) |
|
|
|
export class GfAdminPlatformComponent implements OnInit, OnDestroy { |
|
|
|
export class GfAdminPlatformComponent implements OnDestroy, OnInit { |
|
|
|
@ViewChild(MatSort) sort: MatSort; |
|
|
|
|
|
|
|
public dataSource = new MatTableDataSource<Platform>(); |
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ import { CreateOrUpdateTagDialogParams } from './create-or-update-tag-dialog/int |
|
|
|
styleUrls: ['./admin-tag.component.scss'], |
|
|
|
templateUrl: './admin-tag.component.html' |
|
|
|
}) |
|
|
|
export class GfAdminTagComponent implements OnInit, OnDestroy { |
|
|
|
export class GfAdminTagComponent implements OnDestroy, OnInit { |
|
|
|
@ViewChild(MatSort) sort: MatSort; |
|
|
|
|
|
|
|
public dataSource = new MatTableDataSource<Tag>(); |
|
|
|
|
|
|
|
@ -36,7 +36,7 @@ import { Subject } from 'rxjs'; |
|
|
|
styleUrls: ['./create-watchlist-item-dialog.component.scss'], |
|
|
|
templateUrl: 'create-watchlist-item-dialog.html' |
|
|
|
}) |
|
|
|
export class GfCreateWatchlistItemDialogComponent implements OnInit, OnDestroy { |
|
|
|
export class GfCreateWatchlistItemDialogComponent implements OnDestroy, OnInit { |
|
|
|
public createWatchlistItemForm: FormGroup; |
|
|
|
|
|
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|