hot:module fix for desktop
This commit is contained in:
parent
2a44bf8245
commit
f281a0cf2f
@ -60,7 +60,8 @@ erpnext.desktop.render = function() {
|
|||||||
// setup
|
// setup
|
||||||
for(var i in wn.boot.modules_list) {
|
for(var i in wn.boot.modules_list) {
|
||||||
var m = wn.boot.modules_list[i];
|
var m = wn.boot.modules_list[i];
|
||||||
if(!in_list(['Setup'], m) && wn.boot.profile.allow_modules.indexOf(m)!=-1)
|
if(!in_list(['Setup'], m) && wn.boot.profile.allow_modules.indexOf(m)!=-1
|
||||||
|
&& erpnext.modules[m])
|
||||||
add_icon(m);
|
add_icon(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user