|
|
@ -1,6 +1,9 @@ |
|
|
import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service'; |
|
|
import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service'; |
|
|
import { UserService } from '@ghostfolio/client/services/user/user.service'; |
|
|
import { UserService } from '@ghostfolio/client/services/user/user.service'; |
|
|
import { TAG_ID_DRAFT } from '@ghostfolio/common/config'; |
|
|
import { |
|
|
|
|
|
COMMENT_MAXIMUM_LENGTH, |
|
|
|
|
|
TAG_ID_DRAFT |
|
|
|
|
|
} from '@ghostfolio/common/config'; |
|
|
import { CreateAccountDto, UpdateAccountDto } from '@ghostfolio/common/dtos'; |
|
|
import { CreateAccountDto, UpdateAccountDto } from '@ghostfolio/common/dtos'; |
|
|
import { getStringOrNull } from '@ghostfolio/common/helper'; |
|
|
import { getStringOrNull } from '@ghostfolio/common/helper'; |
|
|
import { hasPermission, permissions } from '@ghostfolio/common/permissions'; |
|
|
import { hasPermission, permissions } from '@ghostfolio/common/permissions'; |
|
|
@ -62,6 +65,8 @@ import { CreateOrUpdateAccountDialogParams } from './interfaces/interfaces'; |
|
|
templateUrl: 'create-or-update-account-dialog.html' |
|
|
templateUrl: 'create-or-update-account-dialog.html' |
|
|
}) |
|
|
}) |
|
|
export class GfCreateOrUpdateAccountDialogComponent { |
|
|
export class GfCreateOrUpdateAccountDialogComponent { |
|
|
|
|
|
protected readonly COMMENT_MAXIMUM_LENGTH = COMMENT_MAXIMUM_LENGTH; |
|
|
|
|
|
|
|
|
protected accountForm: FormGroup; |
|
|
protected accountForm: FormGroup; |
|
|
protected currencies: string[] = []; |
|
|
protected currencies: string[] = []; |
|
|
protected filteredPlatforms: Observable<Platform[]> | undefined; |
|
|
protected filteredPlatforms: Observable<Platform[]> | undefined; |
|
|
|