X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=public%2Fjavascripts%2Fcomponents%2FgameList.js;fp=public%2Fjavascripts%2Fcomponents%2FgameList.js;h=0000000000000000000000000000000000000000;hb=625022fdcf750f0aff8fcd699f7e9b89730e1d10;hp=9b669826ae303913c629ca2e6eeb4d373d0415b0;hpb=b955c65b942d09d24b5c3bed0d755d4f2f8f71f1;p=vchess.git diff --git a/public/javascripts/components/gameList.js b/public/javascripts/components/gameList.js deleted file mode 100644 index 9b669826..00000000 --- a/public/javascripts/components/gameList.js +++ /dev/null @@ -1,29 +0,0 @@ -Vue.component("my-game-list", { - props: ["games"], - computed: { - showVariant: function() { - return this.games.length > 0 && !!this.games[0].vname; - }, - showResult: function() { - return this.games.length > 0 && this.games[0].score != "*"; - }, - }, - template: ` - - - - - - - - - - - - - -
VariantPlayers namesCadenceResult
{{ g.vname }} - {{ p.name }} - {{ g.mainTime }} + {{ g.increment }}{{ g.score }}
- `, -});