6
0
Eric Tröbs 4 жил өмнө
parent
commit
4202a1c907

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

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