Browse Source

Merge branch 'main' into feature/upgrade-prettier-to-version-3.2.4

pull/2928/head
Thomas Kaul 2 years ago
committed by GitHub
parent
commit
9011469c35
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 4
      libs/ui/src/lib/assistant/assistant.component.ts

1
CHANGELOG.md

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Improved the tag selector to only show used tags in the assistant (experimental)
- Upgraded `prettier` from version `3.2.1` to `3.2.4` - Upgraded `prettier` from version `3.2.1` to `3.2.4`
### Fixed ### Fixed

4
libs/ui/src/lib/assistant/assistant.component.ts

@ -136,10 +136,8 @@ export class AssistantComponent implements OnChanges, OnDestroy, OnInit {
) {} ) {}
public ngOnInit() { public ngOnInit() {
const { tags } = this.dataService.fetchInfo();
this.accounts = this.user?.accounts; this.accounts = this.user?.accounts;
this.tags = tags.map(({ id, name }) => { this.tags = this.user?.tags.map(({ id, name }) => {
return { return {
id, id,
name: translate(name) name: translate(name)

Loading…
Cancel
Save