Fix build

This commit is contained in:
James Lyne 2021-05-26 14:54:59 +01:00
parent cce1f79a4d
commit 134ede6870

View File

@ -43,7 +43,7 @@ export default defineComponent({
return useStore().state.currentServer; return useStore().state.currentServer;
}, },
selected(): boolean { selected(): boolean {
return this.currentServer && this.server.id === this.currentServer.id; return !!this.currentServer && this.server.id === this.currentServer.id;
} }
}, },