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 | ||||
|     } | ||||
|     this.networkActive = true | ||||
|     serverResponse.subscribe( | ||||
|       (result) => { | ||||
|     serverResponse.subscribe({ | ||||
|       next: (result) => { | ||||
|         this.activeModal.close() | ||||
|         this.success.emit(result) | ||||
|       }, | ||||
|       (error) => { | ||||
|       error: (error) => { | ||||
|         this.error = error.error | ||||
|         this.networkActive = false | ||||
|       } | ||||
|     ) | ||||
|       }, | ||||
|     }) | ||||
|   } | ||||
|  | ||||
|   cancel() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon