mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Extract plugin information from label printing request
This commit is contained in:
		| @@ -222,7 +222,8 @@ function selectLabel(labels, items, options={}) { | ||||
|             async: false, | ||||
|             success: function(response) { | ||||
|                 response.forEach(function(plugin) { | ||||
|                     if (plugin.mixins && plugin.mixins.labels) { | ||||
|                     // Look for active plugins which implement the 'labels' mixin class | ||||
|                     if (plugin.active && plugin.mixins && plugin.mixins.labels) { | ||||
|                         // This plugin supports label printing | ||||
|                         plugins.push(plugin); | ||||
|                     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user