mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	redirect to index if company was deleted
This commit is contained in:
		| @@ -338,6 +338,8 @@ $('#delete-part').click(function() { | ||||
|         onSuccess: function() { | ||||
|             {% if part.manufacturer %} | ||||
|             window.location.href = "{% url 'company-detail' part.manufacturer.id %}"; | ||||
|             {% else%} | ||||
|             window.location.href = "{% url 'index' %}"; | ||||
|             {% endif %} | ||||
|         } | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user