mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05: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) { |                 success: function(response) { | ||||||
|                     updateNotificationIndicator(response.length); |                     updateNotificationIndicator(response.length); | ||||||
|  |                 }, | ||||||
|  |                 error: function(xhr) { | ||||||
|  |                     console.warn("Could not access server: /api/notifications"); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         ); |         ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user