Eric Tröbs 4 年之前
父节点
当前提交
4202a1c907
共有 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;