Merge pull request #14708 from pratu16x7/hub-fixes

[hub] add link in modules
This commit is contained in:
Prateeksha Singh 2018-06-28 03:23:03 +05:30 committed by GitHub
commit 84d358bd0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();