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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
3 deletions
-
CHANGELOG.md
-
libs/ui/src/lib/assistant/assistant.component.ts
|
@ -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 |
|
|
|
@ -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) |
|
|