fix
This commit is contained in:
parent
232c53f53e
commit
f10c3859a6
1 changed files with 4 additions and 4 deletions
|
@ -215,11 +215,11 @@ import { defaultStore } from "@/store";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||||
|
|
||||||
let patrons = $ref([]);
|
let patrons = [];
|
||||||
let sponsors = $ref([]);
|
let sponsors = [];
|
||||||
const patronsResp = await os.api("patrons", { forceUpdate: true });
|
const patronsResp = await os.api("patrons", { forceUpdate: true });
|
||||||
patrons.values = patronsResp.patrons;
|
patrons = patronsResp.patrons;
|
||||||
sponsors.values = patronsResp.sponsors;
|
sponsors = patronsResp.sponsors;
|
||||||
|
|
||||||
patrons = patrons.filter((patron) => !sponsors.includes(patron));
|
patrons = patrons.filter((patron) => !sponsors.includes(patron));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue