X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FChallengeList.vue;h=1107b58ce023c9207e1555f64e51c38eb0ce859a;hp=5c582631b07d4f622a72b2a82852fc1fc620ce76;hb=50330595f8a3055e0d568289e60c16402a15d320;hpb=acbb2c90fb4048d8368a4ca6ff8970e931846fed diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue index 5c582631..1107b58c 100644 --- a/client/src/components/ChallengeList.vue +++ b/client/src/components/ChallengeList.vue @@ -15,7 +15,7 @@ div ) td {{ c.vname }} td {{ withWho(c) }} - td(:class="getCadenceClass(c)") {{ c.cadence }} + td {{ c.cadence }} td(:class="getRandomnessClass(c)") p(v-else) | {{ st.tr["No challenges found :( Click on 'New game'!"] }} @@ -66,11 +66,6 @@ export default { return { ["random-" + c.randomness]: true }; - }, - getCadenceClass: function(c) { - return { - "simultaneous": c.cadence.indexOf("/") >= 0 - }; } } }; @@ -87,9 +82,6 @@ tr.fromyou > td tr.toyou > td background-color: #fcd785 -td.simultaneous - background-color: purple - tr > td:last-child &.random-0 background-color: #FF5733