mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	If part has no category, page rendered an extra curly brace in JS that caused syntax error.
This commit is contained in:
		| @@ -100,7 +100,7 @@ | ||||
|         launchDeleteForm("#modal-delete", | ||||
|                          "{% url 'part-delete' part.id %}", | ||||
|                          { | ||||
|                              redirect: {% if part.category %}"{% url 'category-detail' part.category.id %}"{% else %}"{% url 'part-index' %}"}{% endif %} | ||||
|                              redirect: {% if part.category %}"{% url 'category-detail' part.category.id %}"{% else %}"{% url 'part-index' %}"{% endif %} | ||||
|                          }); | ||||
|     }); | ||||
| {% endblock %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user