Don't send defaults if not displaying network
This commit is contained in:
parent
adab03f730
commit
01f524b7c5
@ -461,7 +461,6 @@ function getClientConfiguration() {
|
|||||||
"lockNetwork",
|
"lockNetwork",
|
||||||
"displayNetwork",
|
"displayNetwork",
|
||||||
"useHexIp",
|
"useHexIp",
|
||||||
"defaults",
|
|
||||||
"themes",
|
"themes",
|
||||||
"prefetch",
|
"prefetch",
|
||||||
]);
|
]);
|
||||||
@ -471,6 +470,10 @@ function getClientConfiguration() {
|
|||||||
config.gitCommit = Helper.getGitCommit();
|
config.gitCommit = Helper.getGitCommit();
|
||||||
config.themes = themes.getAll();
|
config.themes = themes.getAll();
|
||||||
|
|
||||||
|
if (config.displayNetwork) {
|
||||||
|
config.defaults = Helper.config.defaults;
|
||||||
|
}
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user