Browse Source

refactor: remove tags input from tags selector component

pull/5666/head
jassu2244 3 months ago
parent
commit
6b8ba46d63
  1. 3
      libs/ui/src/lib/tags-selector/tags-selector.component.ts

3
libs/ui/src/lib/tags-selector/tags-selector.component.ts

@ -63,7 +63,6 @@ export class GfTagsSelectorComponent
{ {
@Input() hasPermissionToCreateTag = false; @Input() hasPermissionToCreateTag = false;
@Input() readonly = false; @Input() readonly = false;
@Input() tags: Tag[];
@Input() tagsAvailable: Tag[]; @Input() tagsAvailable: Tag[];
@Output() tagsChanged = new EventEmitter<Tag[]>(); @Output() tagsChanged = new EventEmitter<Tag[]>();
@ -88,12 +87,10 @@ export class GfTagsSelectorComponent
} }
public ngOnInit() { public ngOnInit() {
this.tagsSelected.set(this.tags);
this.updateFilters(); this.updateFilters();
} }
public ngOnChanges() { public ngOnChanges() {
this.tagsSelected.set(this.tags);
this.updateFilters(); this.updateFilters();
} }

Loading…
Cancel
Save