1
0
Fork 1
mirror of https://example.com synced 2024-11-23 08:46:39 +09:00

patron async computed

This commit is contained in:
ThatOneCalculator 2023-06-08 12:51:05 -07:00
parent 344adbe2a1
commit 31acc8caad
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -367,8 +367,6 @@ const props = withDefaults(
const router = useRouter();
const patrons = await os.api("patrons");
let parallaxAnimationId = $ref<null | number>(null);
let narrow = $ref<null | boolean>(null);
let rootEl = $ref<null | HTMLElement>(null);
@ -423,6 +421,8 @@ const timeForThem = $computed(() => {
return "";
});
const patrons = $computed(async () => await os.api("patrons"));
function menu(ev) {
os.popupMenu(
getUserMenu(props.user, router),