mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Fix for filter adjustment in related field (#6396)
- Cannot compare two objects directly
This commit is contained in:
		| @@ -115,7 +115,7 @@ export function RelatedModelField({ | ||||
|       } | ||||
|  | ||||
|       // If the filters have changed, clear the data | ||||
|       if (_filters != filters) { | ||||
|       if (JSON.stringify(_filters) !== JSON.stringify(filters)) { | ||||
|         resetSearch(); | ||||
|         setFilters(_filters); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user