Browse Source

Update tagsAvailable in CU activity dialog

pull/3859/head
Matej Gerek 11 months ago
committed by Thomas Kaul
parent
commit
bebabca8f0
  1. 4
      apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts

4
apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts

@ -76,11 +76,13 @@ export class CreateOrUpdateActivityDialog implements OnDestroy {
this.locale = this.data.user?.settings?.locale;
this.dateAdapter.setLocale(this.locale);
const { currencies, platforms, tags } = this.dataService.fetchInfo();
const { currencies, platforms } = this.dataService.fetchInfo();
this.currencies = currencies;
this.defaultDateFormat = getDateFormatString(this.locale);
this.platforms = platforms;
const tags = this.data.user?.tags ?? [];
this.tagsAvailable = tags.map((tag) => {
return {
...tag,

Loading…
Cancel
Save