[hub] add link in modules

This commit is contained in:
Prateeksha Singh 2018-06-28 03:17:39 +05:30
parent 687c6bb002
commit 2e0b5140e7
2 changed files with 9 additions and 8 deletions

View File

@ -323,14 +323,6 @@ def get_data():
"label": _("Lab Test"),
"hidden": 1
},
{
"module_name": "Hub",
"color": "#009248",
"icon": "/assets/erpnext/images/hub_logo.svg",
"type": "page",
"link": "Hub/Item",
"label": _("Hub")
},
{
"module_name": "Data Import",
"color": "#FFF168",

View File

@ -1,5 +1,14 @@
frappe.provide('erpnext.hub.pages');
frappe.boot.desktop_icons.unshift({
force_show: 1,
idx: 0,
label: "Marketplace",
link: "Hub/Item",
module_name: "Marketplace",
type: "module",
});
frappe.views.HubFactory = frappe.views.Factory.extend({
make(route) {
const page_name = frappe.get_route_str();