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
2 changed files with 9 additions and 8 deletions

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();