From 9ef3b3912df67b0ac0e7d15852d6e131edd6fea5 Mon Sep 17 00:00:00 2001 From: Hanna Kurban Date: Tue, 30 Jan 2024 14:48:45 +0300 Subject: [PATCH] FIO-7826 fixed drag and drop for pdf --- src/PDF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PDF.js b/src/PDF.js index e1ad0d4988..0448f8efcb 100644 --- a/src/PDF.js +++ b/src/PDF.js @@ -76,7 +76,7 @@ export default class PDF extends Webform { } rebuild() { - if (this.attached && this.builderMode && this.component.components) { + if (this.builderMode && this.component.components) { this.destroyComponents(); this.addComponents(); return Promise.resolve();