From 21771bb987066fc98fe49f140212fbedc4e9f50e Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Tue, 18 Feb 2020 21:00:34 +0100 Subject: [PATCH] Fix display for anonymous player in social modal --- client/src/views/Hall.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }} -- 2.44.0