hot:module fix for desktop
diff --git a/home/page/desktop/desktop.js b/home/page/desktop/desktop.js
index 4eef2fd..289820b 100644
--- a/home/page/desktop/desktop.js
+++ b/home/page/desktop/desktop.js
@@ -60,7 +60,8 @@
 	// setup
 	for(var i in wn.boot.modules_list) {
 		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);
 	}