Ben Holmes
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
5 deletions
-
apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts
|
|
@ -500,11 +500,7 @@ export class GfCreateOrUpdateActivityDialogComponent { |
|
|
fee: this.activityForm.get('fee')?.value, |
|
|
fee: this.activityForm.get('fee')?.value, |
|
|
quantity: this.activityForm.get('quantity')?.value, |
|
|
quantity: this.activityForm.get('quantity')?.value, |
|
|
symbol: |
|
|
symbol: |
|
|
(['FEE', 'INTEREST', 'LIABILITY', 'VALUABLE'].includes( |
|
|
this.activityForm.get('searchSymbol')?.value?.symbol ?? |
|
|
this.activityForm.get('type')?.value |
|
|
|
|
|
) |
|
|
|
|
|
? undefined |
|
|
|
|
|
: this.activityForm.get('searchSymbol')?.value?.symbol) ?? |
|
|
|
|
|
this.activityForm.get('name')?.value, |
|
|
this.activityForm.get('name')?.value, |
|
|
tags: this.activityForm.get('tags')?.value?.map(({ id }) => { |
|
|
tags: this.activityForm.get('tags')?.value?.map(({ id }) => { |
|
|
return id; |
|
|
return id; |
|
|
|