Browse Source

fix: removed console

version-14
Jannat Patel 3 years ago
parent
commit
bbcb99d65d
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      frappe/public/js/frappe/web_form/web_form_list.js

+ 0
- 1
frappe/public/js/frappe/web_form/web_form_list.js View File

@@ -141,7 +141,6 @@ export default class WebFormList {
empty_state.classList.add("no-result", "text-muted", "flex", "justify-center", "align-center");

frappe.has_permission(this.doctype, "", "create", () => {
console.log(this)
new_button = `<a class="btn btn-primary btn-sm btn-new-doc hidden-xs" href="${window.location.pathname}?new=1">
${__("Create a new {0}", [__(this.doctype)])}
</a>`;


Loading…
Cancel
Save