mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
feature #3328: Fix isFeatureEnabled method
This commit is contained in:
parent
8d7f8f7f22
commit
c4299030f4
@ -53,7 +53,7 @@ Config = {
|
||||
},
|
||||
|
||||
"isFeatureEnabled": function(feature_name){
|
||||
if (config['features'] && config['features'][feature_name]) {
|
||||
if (config['view']['features'] && config['view']['features'][feature_name]) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user