mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Merge remote-tracking branch 'inventree/master' into drf-api-forms
This commit is contained in:
		| @@ -144,7 +144,12 @@ | ||||
|             label: 'image', | ||||
|             method: 'PATCH', | ||||
|             success: function(data, status, xhr) { | ||||
|                 location.reload(); | ||||
|  | ||||
|                 if (data.image) { | ||||
|                     $('#company-image').attr('src', data.image); | ||||
|                 } else { | ||||
|                     location.reload(); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user