瀏覽代碼

tiny fix to avoid endless loop

Falko Schindler 3 年之前
父節點
當前提交
ec6731835c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      nicegui/elements/annotation_tool.js

+ 1 - 0
nicegui/elements/annotation_tool.js

@@ -17,6 +17,7 @@ Vue.component("annotation_tool", {
     const handle_completion = () => {
       if (this.waiting_source) {
         image.src = this.waiting_source;
+        this.waiting_source = undefined;
       } else {
         this.loading = false;
       }