From 134ede68703b6f9ae9e28bb90cabb57c9e5d7db3 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 26 May 2021 14:54:59 +0100 Subject: [PATCH] Fix build --- src/components/sidebar/ServerListItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/sidebar/ServerListItem.vue b/src/components/sidebar/ServerListItem.vue index e467867..a9291c8 100644 --- a/src/components/sidebar/ServerListItem.vue +++ b/src/components/sidebar/ServerListItem.vue @@ -43,7 +43,7 @@ export default defineComponent({ return useStore().state.currentServer; }, selected(): boolean { - return this.currentServer && this.server.id === this.currentServer.id; + return !!this.currentServer && this.server.id === this.currentServer.id; } },