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; } },