Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Task/prefix create watchlist item dialog component with Gf (#5617)
SK Akramdcd2d179085b
diff --git a/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/create-watchlist-item-dialog.component.ts b/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/create-watchlist-item-dialog.component.tsindex 759e47a019..7bd7d2ae1c 100644--- a/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/create-watchlist-item-dialog.component.ts+++ b/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/create-watchlist-item-dialog.component.ts@@ -36,13 +36,13 @@ import { Subject } from 'rxjs';styleUrls: ['./create-watchlist-item-dialog.component.scss'],templateUrl: 'create-watchlist-item-dialog.html'})-export class CreateWatchlistItemDialogComponent implements OnInit, OnDestroy {+export class GfCreateWatchlistItemDialogComponent implements OnInit, OnDestroy {public createWatchlistItemForm: FormGroup;private unsubscribeSubject = new Subject<void>();public constructor(- public readonly dialogRef: MatDialogRef<CreateWatchlistItemDialogComponent>,+ public readonly dialogRef: MatDialogRef<GfCreateWatchlistItemDialogComponent>,public readonly formBuilder: FormBuilder) {}diff --git a/apps/client/src/app/components/home-watchlist/home-watchlist.component.ts b/apps/client/src/app/components/home-watchlist/home-watchlist.component.tsindex 226d748cdf..efe93a8435 100644--- a/apps/client/src/app/components/home-watchlist/home-watchlist.component.ts+++ b/apps/client/src/app/components/home-watchlist/home-watchlist.component.ts@@ -28,7 +28,7 @@ import { DeviceDetectorService } from 'ngx-device-detector';import { Subject } from 'rxjs';import { takeUntil } from 'rxjs/operators';-import { CreateWatchlistItemDialogComponent } from './create-watchlist-item-dialog/create-watchlist-item-dialog.component';+import { GfCreateWatchlistItemDialogComponent } from './create-watchlist-item-dialog/create-watchlist-item-dialog.component';import { CreateWatchlistItemDialogParams } from './create-watchlist-item-dialog/interfaces/interfaces';@Component({@@ -149,14 +149,17 @@ export class HomeWatchlistComponent implements OnDestroy, OnInit {.subscribe((user) => {this.user = user;- const dialogRef = this.dialog.open(CreateWatchlistItemDialogComponent, {- autoFocus: false,- data: {- deviceType: this.deviceType,- locale: this.user?.settings?.locale- } as CreateWatchlistItemDialogParams,- width: this.deviceType === 'mobile' ? '100vw' : '50rem'- });+ const dialogRef = this.dialog.open(+ GfCreateWatchlistItemDialogComponent,+ {+ autoFocus: false,+ data: {+ deviceType: this.deviceType,+ locale: this.user?.settings?.locale+ } as CreateWatchlistItemDialogParams,+ width: this.deviceType === 'mobile' ? '100vw' : '50rem'+ }+ );dialogRef.afterClosed()