Browse Source

Only show used tags in tag selector

pull/2943/head
Thomas Kaul 2 years ago
parent
commit
e9fc51dfb9
  1. 4
      libs/ui/src/lib/assistant/assistant.component.ts

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

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

Loading…
Cancel
Save