|
@ -89,7 +89,7 @@ export class AssetProfileDialog implements OnDestroy, OnInit { |
|
|
[name: string]: { name: string; value: number }; |
|
|
[name: string]: { name: string; value: number }; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
public HoldingTags: { id: string; name: string }[]; |
|
|
public HoldingTags: { id: string; name: string; userId: string }[]; |
|
|
|
|
|
|
|
|
private static readonly HISTORICAL_DATA_TEMPLATE = `date;marketPrice\n${format( |
|
|
private static readonly HISTORICAL_DATA_TEMPLATE = `date;marketPrice\n${format( |
|
|
new Date(), |
|
|
new Date(), |
|
@ -123,8 +123,8 @@ export class AssetProfileDialog implements OnDestroy, OnInit { |
|
|
.fetchTags() |
|
|
.fetchTags() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((tags) => { |
|
|
.subscribe((tags) => { |
|
|
this.HoldingTags = tags.map(({ id, name }) => { |
|
|
this.HoldingTags = tags.map(({ id, name, userId }) => { |
|
|
return { id, name }; |
|
|
return { id, name, userId }; |
|
|
}); |
|
|
}); |
|
|
this.dataService.updateInfo(); |
|
|
this.dataService.updateInfo(); |
|
|
|
|
|
|
|
|