mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Update deprecated edit-dialog rxjs
This commit is contained in:
		| @@ -92,16 +92,16 @@ export abstract class EditDialogComponent<T extends ObjectWithId> | |||||||
|         break |         break | ||||||
|     } |     } | ||||||
|     this.networkActive = true |     this.networkActive = true | ||||||
|     serverResponse.subscribe( |     serverResponse.subscribe({ | ||||||
|       (result) => { |       next: (result) => { | ||||||
|         this.activeModal.close() |         this.activeModal.close() | ||||||
|         this.success.emit(result) |         this.success.emit(result) | ||||||
|       }, |       }, | ||||||
|       (error) => { |       error: (error) => { | ||||||
|         this.error = error.error |         this.error = error.error | ||||||
|         this.networkActive = false |         this.networkActive = false | ||||||
|       } |       }, | ||||||
|     ) |     }) | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   cancel() { |   cancel() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon