[hub][minor] remove links #14309

This commit is contained in:
Prateeksha Singh
2018-06-04 10:26:49 +05:30
parent 6ac9c0f71e
commit e73df88863
2 changed files with 2 additions and 3 deletions

View File

@@ -6,8 +6,7 @@ frappe.ui.form.on("Hub Settings", {
}));
frm.trigger("enabled");
frm.add_custom_button(__('View Hub'),
() => frappe.set_route('Hub', 'Item'));
if (frm.doc.enabled) {
frm.add_custom_button(__('Sync'),
() => frm.call('sync'));