mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
Add "hidden" property to global settings
- Allows certain settings to be hidden from the javascript files
This commit is contained in:
@ -13,7 +13,7 @@ const user_settings = {
|
||||
{% endfor %}
|
||||
};
|
||||
|
||||
{% global_settings as GLOBAL_SETTINGS %}
|
||||
{% visible_global_settings as GLOBAL_SETTINGS %}
|
||||
const global_settings = {
|
||||
{% for key, value in GLOBAL_SETTINGS.items %}
|
||||
{{ key }}: {% primitive_to_javascript value %},
|
||||
|
Reference in New Issue
Block a user