mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 03:55:41 +00:00
Make plugins_enabled variable available to javascript code
This commit is contained in:
@ -20,6 +20,12 @@ const global_settings = {
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
{% if plugins_enabled %}
|
||||||
|
const plugins_enabled = true;
|
||||||
|
{% else %}
|
||||||
|
const plugins_enabled = false;
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Edit a setting value
|
* Edit a setting value
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user