mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Label fix (#411)
* Cleanup label printing options - Improve calls to setState() - Should fix potential race conditions * Use name if description not available * Code simplification * Fetch plugins even if the server reports "plugins enabled" - Builtin plugins are still a thing! * Use name *and* description to display label
This commit is contained in:
@ -645,11 +645,7 @@ class InvenTreeAPI {
|
||||
// Request plugin information from the server
|
||||
Future<bool> getPluginInformation() async {
|
||||
|
||||
// The server does not support plugins, or they are not enabled
|
||||
if (!pluginsEnabled()) {
|
||||
_plugins.clear();
|
||||
return true;
|
||||
}
|
||||
_plugins.clear();
|
||||
|
||||
debug("API: getPluginInformation()");
|
||||
|
||||
|
Reference in New Issue
Block a user