Преглед изворни кода

Prevent compilation request from being ignored in compiler.js (#5818)

GitOrigin-RevId: 1442ad0890b73134e6f563a1b474e4bc9e8a6ecd
Miguel Serrano пре 4 година
родитељ
комит
9ce51f9f2f
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      services/web/frontend/js/features/pdf-preview/util/compiler.js

+ 3 - 0
services/web/frontend/js/features/pdf-preview/util/compiler.js

@@ -67,6 +67,9 @@ export default class DocumentCompiler {
     })
 
     if (wasCompiling) {
+      if (options.isAutoCompileOnChange) {
+        this.debouncedAutoCompile()
+      }
       return
     }