Fix clocks update + abort games from MyGames page
[vchess.git] / client / src / components / GameList.vue
index 0a8bd8c..098efd0 100644 (file)
@@ -150,7 +150,7 @@ export default {
             : "Abort and remove game?";
         if (confirm(this.st.tr[message])) {
           const afterDelete = () => {
-            if (game.score == "*") this.$emit("abort", game);
+            if (game.score == "*") this.$emit("abortgame", game);
             this.$set(this.deleted, game.id, true);
           };
           if (game.type == "live")