fixes bug with the + button

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

View File

@@ -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)
})