Browse Source

added formet

pull/5617/head
akramcodez 1 month ago
parent
commit
b3fbbc5244
  1. 19
      apps/client/src/app/components/home-watchlist/home-watchlist.component.ts

19
apps/client/src/app/components/home-watchlist/home-watchlist.component.ts

@ -149,14 +149,17 @@ export class HomeWatchlistComponent implements OnDestroy, OnInit {
.subscribe((user) => { .subscribe((user) => {
this.user = user; this.user = user;
const dialogRef = this.dialog.open(GfCreateWatchlistItemDialogComponent, { const dialogRef = this.dialog.open(
autoFocus: false, GfCreateWatchlistItemDialogComponent,
data: { {
deviceType: this.deviceType, autoFocus: false,
locale: this.user?.settings?.locale data: {
} as CreateWatchlistItemDialogParams, deviceType: this.deviceType,
width: this.deviceType === 'mobile' ? '100vw' : '50rem' locale: this.user?.settings?.locale
}); } as CreateWatchlistItemDialogParams,
width: this.deviceType === 'mobile' ? '100vw' : '50rem'
}
);
dialogRef dialogRef
.afterClosed() .afterClosed()

Loading…
Cancel
Save