From: Benjamin Auder Date: Tue, 18 Feb 2020 20:00:34 +0000 (+0100) Subject: Fix display for anonymous player in social modal X-Git-Url: https://git.auder.net/variants/Dynamo/%7B%7B%20asset%28%27mixstore/css/user/parser.js?a=commitdiff_plain;h=21771bb987066fc98fe49f140212fbedc4e9f50e;p=vchess.git Fix display for anonymous player in social modal --- diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 1b8681fd..2236ce3c 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -67,7 +67,7 @@ main ) span {{ people[sid].name }} button.player-action( - v-if="sid!=st.user.sid || isGamer(sid)" + v-if="isGamer(sid) || (st.user.id > 0 && sid!=st.user.sid)" @click="challOrWatch(sid)" ) | {{ getActionLabel(sid) }}