Merge pull request #14710 from frappe/revert-14708-hub-fixes

Revert "[hub] add link in modules"
This commit is contained in:
Prateeksha Singh 2018-06-28 09:59:56 +05:30 committed by GitHub
commit 4bd6547de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -322,6 +322,14 @@ def get_data():
"link": "List/Lab Test",
"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",

View File

@ -1,14 +1,5 @@
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();