refactor: update patched component from PDFIframe to SignablePDFIframe
This commit is contained in:
parent
8871c1399c
commit
70543a9e18
@ -1,9 +1,9 @@
|
||||
/** @odoo-module **/
|
||||
|
||||
import { patch } from "@web/core/utils/patch";
|
||||
import { PDFIframe } from "@sign/components/sign_request/PDF_iframe";
|
||||
import { SignablePDFIframe } from "@sign/components/sign_request/signable_PDF_iframe";
|
||||
|
||||
patch(PDFIframe.prototype, {
|
||||
patch(SignablePDFIframe.prototype, {
|
||||
enableCustom(signItem) {
|
||||
super.enableCustom(signItem);
|
||||
if (signItem.data.type === 'image') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user