mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 11:36:39 +01:00
Fixhancement: tag plus button should add tag to doc (#9762)
This commit is contained in:
parent
fcb7349e8e
commit
15d4ac8ba2
5 changed files with 9 additions and 8 deletions
|
|
@ -405,7 +405,7 @@ describe('GlobalSearchComponent', () => {
|
|||
expect(toastErrorSpy).toHaveBeenCalled()
|
||||
|
||||
// succeed
|
||||
editDialog.succeeded.emit(true)
|
||||
editDialog.succeeded.emit(object as any)
|
||||
expect(toastInfoSpy).toHaveBeenCalled()
|
||||
})
|
||||
|
||||
|
|
@ -456,7 +456,7 @@ describe('GlobalSearchComponent', () => {
|
|||
expect(toastErrorSpy).toHaveBeenCalled()
|
||||
|
||||
// succeed
|
||||
editDialog.succeeded.emit(true)
|
||||
editDialog.succeeded.emit(searchResults.tags[0] as any)
|
||||
expect(toastInfoSpy).toHaveBeenCalled()
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue