Add "hidden" property to global settings

- Allows certain settings to be hidden from the javascript files
This commit is contained in:
Oliver committed 2021-11-11 22:16:46 +11:00
1 parent 2f3772f3bf
commit 626637a06a
3 files changed
+18 -3

No files matched your search

+1 -1
View File
@@ -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 %},