mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Prevent annoying error messages when notification request fails
This commit is contained in:
		| @@ -171,6 +171,9 @@ function notificationCheck(force = false) { | ||||
|             { | ||||
|                 success: function(response) { | ||||
|                     updateNotificationIndicator(response.length); | ||||
|                 }, | ||||
|                 error: function(xhr) { | ||||
|                     console.warn("Could not access server: /api/notifications"); | ||||
|                 } | ||||
|             } | ||||
|         ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user