mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Make plugins_enabled variable available to javascript code
This commit is contained in:
parent
aed7a35312
commit
2ce5b7c896
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user