X-Git-Url: https://git.auder.net/doc/current/git-logo.png?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FGameList.vue;h=5a4c8f7c39eba08525811690209c73db3d63c039;hb=9ddaf8da8743c50b9019888a82d84392913c60c9;hp=243593025e9ff6c5028e6a0e7adc1bcd4521434b;hpb=fd41e587ca01d709551e0cc04bb94fb5e769fe97;p=vchess.git diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index 24359302..5a4c8f7c 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -15,12 +15,14 @@ div td(data-label="White") {{ g.players[0].name || "@nonymous" }} td(data-label="Black") {{ g.players[1].name || "@nonymous" }} td(data-label="Time control") {{ g.cadence }} - td(data-label="Result") {{ g.score }} + td(data-label="Result" :class="{finished: g.score!='*'}" + @click.stop="deleteGame(g)") + | {{ g.score }} @@ -62,4 +70,6 @@ export default { // TODO: understand why the style applied to