fixes bug with the + button

This commit is contained in:
Jonas Winkler committed 2020-11-12 09:23:57 +01:00
1 parent ac1cfff158
commit b14fd52b8b
2 files changed
+3 -3

No files matched your search

@@ -86,7 +86,7 @@ export class TagsComponent implements OnInit, ControlValueAccessor {
var modal = this.modalService.open(TagEditDialogComponent, {backdrop: 'static'})
modal.componentInstance.dialogMode = 'create'
modal.componentInstance.success.subscribe(newTag => {
this.tagService.list().subscribe(tags => {
this.tagService.listAll().subscribe(tags => {
this.tags = tags.results
this.addTag(newTag.id)
})