fix: use bool properly
Co-authored-by: Ejaaz Khan <67804911+iamejaaz@users.noreply.github.com>
This commit is contained in:
parent
e5f4fef012
commit
b429b7e35d
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ frappe.ui.form.PrintView = class {
|
|||
this.setup_customize_dialog();
|
||||
|
||||
// print designer link
|
||||
if (frappe.boot.sysdefaults.disable_product_suggestion !== "1") {
|
||||
if (!cint(frappe.boot.sysdefaults.disable_product_suggestion)) {
|
||||
if (Object.keys(frappe.boot.versions).includes("print_designer")) {
|
||||
this.page.add_inner_message(`
|
||||
<a style="line-height: 2.4" href="/app/print-designer?doctype=${this.frm.doctype}">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue