This commit is contained in:
ThatOneCalculator 2023-08-01 21:41:39 -07:00
parent 232c53f53e
commit f10c3859a6
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -215,11 +215,11 @@ import { defaultStore } from "@/store";
import * as os from "@/os";
import { definePageMetadata } from "@/scripts/page-metadata";
let patrons = $ref([]);
let sponsors = $ref([]);
let patrons = [];
let sponsors = [];
const patronsResp = await os.api("patrons", { forceUpdate: true });
patrons.values = patronsResp.patrons;
sponsors.values = patronsResp.sponsors;
patrons = patronsResp.patrons;
sponsors = patronsResp.sponsors;
patrons = patrons.filter((patron) => !sponsors.includes(patron));