Merge branch 'feature/main-menu-config' into dev
This commit is contained in:
@@ -90,6 +90,10 @@ public class SettingsService extends BaseHandler {
|
|||||||
var entry = entries.get(i);
|
var entry = entries.get(i);
|
||||||
var key = format("umbrella.modules.{0}.menuIndex",entry.module);
|
var key = format("umbrella.modules.{0}.menuIndex",entry.module);
|
||||||
Optional<Integer> val = config.get(key);
|
Optional<Integer> val = config.get(key);
|
||||||
|
if (val.isEmpty()) {
|
||||||
|
key = format("umbrella.modules.{0}.menu_index",entry.module);
|
||||||
|
val = config.get(key);
|
||||||
|
}
|
||||||
if (val.isPresent()) {
|
if (val.isPresent()) {
|
||||||
var index = val.get();
|
var index = val.get();
|
||||||
if (index<0) {
|
if (index<0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user