Skip to content
/ web Public

Commit bc390c4

Browse files
committed
bug: dont show non ranked servers in selection
1 parent f692850 commit bc390c4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

components/match/MatchSelectServer.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ import { typedGql } from "~/generated/zeus/typedDocumentNode";
6565
import { generateMutation } from "~/graphql/graphqlGen";
6666
import { toast } from "@/components/ui/toast";
6767
import { useApplicationSettingsStore } from "~/stores/ApplicationSettings";
68+
import { e_server_types_enum } from "~/generated/zeus";
6869
6970
export default {
7071
props: {
@@ -78,7 +79,13 @@ export default {
7879
servers: {
7980
query: typedGql("subscription")({
8081
servers: [
81-
{},
82+
{
83+
where: {
84+
type : {
85+
_eq: e_server_types_enum.Ranked
86+
}
87+
}
88+
},
8289
{
8390
id: true,
8491
host: true,

0 commit comments

Comments
 (0)