6
0
Преглед на файлове

Merge branch '101-timing-issue' into 'master'

Resolve "timing issue"

Closes #101

See merge request troebs/pycs!92
Eric Tröbs преди 4 години
родител
ревизия
08bd7adb4f
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      webui/src/components/media/annotated-media-view.vue

+ 1 - 3
webui/src/components/media/annotated-media-view.vue

@@ -98,9 +98,7 @@ export default {
     predict: function () {
       this.socket.post('/projects/' + this.currentProject.id, {
         'predict': [this.currentMedia.id]
-      });
-
-      this.updateEvent();
+      }).then(this.updateEvent);
     },
     filter: function (value) {
       this.filterValue = value;