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.ts index a284991e2..847b2d4ab 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 @@ -1,3 +1,4 @@ +import type { AssetProfileIdentifier } from '@ghostfolio/common/interfaces'; import { GfSymbolAutocompleteComponent } from '@ghostfolio/ui/symbol-autocomplete'; import { ChangeDetectionStrategy, Component, inject } from '@angular/core'; @@ -12,7 +13,6 @@ import { import { MatButtonModule } from '@angular/material/button'; import { MatDialogModule, MatDialogRef } from '@angular/material/dialog'; import { MatFormFieldModule } from '@angular/material/form-field'; -import { SymbolProfile } from '@prisma/client'; import { CreateWatchlistItemForm } from './interfaces/interfaces'; @@ -35,7 +35,7 @@ export class GfCreateWatchlistItemDialogComponent { protected readonly createWatchlistItemForm: CreateWatchlistItemForm = new FormGroup( { - searchSymbol: new FormControl(null, [ + searchSymbol: new FormControl(null, [ Validators.required ]) }, diff --git a/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/interfaces/interfaces.ts b/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/interfaces/interfaces.ts index 67ac06bae..965331326 100644 --- a/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/interfaces/interfaces.ts +++ b/apps/client/src/app/components/home-watchlist/create-watchlist-item-dialog/interfaces/interfaces.ts @@ -1,5 +1,6 @@ +import type { AssetProfileIdentifier } from '@ghostfolio/common/interfaces'; + import type { FormControl, FormGroup } from '@angular/forms'; -import type { SymbolProfile } from '@prisma/client'; export interface CreateWatchlistItemDialogParams { deviceType: string; @@ -7,5 +8,5 @@ export interface CreateWatchlistItemDialogParams { } export type CreateWatchlistItemForm = FormGroup<{ - searchSymbol: FormControl; + searchSymbol: FormControl; }>;