mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
fix edit dialog creation d/t success emitter was renamed
This commit is contained in:
parent
f4e5023d22
commit
2bc208cd6e
4 changed files with 8 additions and 8 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue