Browse Source

tiny fix to avoid endless loop

Falko Schindler 3 years ago
parent
commit
ec6731835c
1 changed files with 1 additions and 0 deletions
  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;
       }