Просмотр исходного кода

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

GitOrigin-RevId: 1442ad0890b73134e6f563a1b474e4bc9e8a6ecd
Miguel Serrano 4 лет назад
Родитель
Сommit
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
     }