fix edit dialog creation d/t success emitter was renamed

This commit is contained in:
Michael Shamoon
2022-12-30 07:33:45 -08:00
parent c6a6b4f645
commit ac447b4baf
4 changed files with 8 additions and 8 deletions

View File

@@ -91,7 +91,7 @@ export class TagsComponent implements OnInit, ControlValueAccessor {
if (name) modal.componentInstance.object = { name: name }
else if (this._lastSearchTerm)
modal.componentInstance.object = { name: this._lastSearchTerm }
modal.componentInstance.success.subscribe((newTag) => {
modal.componentInstance.succeeded.subscribe((newTag) => {
this.tagService.listAll().subscribe((tags) => {
this.tags = tags.results
this.value = [...this.value, newTag.id]