patron async computed
This commit is contained in:
parent
344adbe2a1
commit
31acc8caad
@ -367,8 +367,6 @@ const props = withDefaults(
|
|||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
const patrons = await os.api("patrons");
|
|
||||||
|
|
||||||
let parallaxAnimationId = $ref<null | number>(null);
|
let parallaxAnimationId = $ref<null | number>(null);
|
||||||
let narrow = $ref<null | boolean>(null);
|
let narrow = $ref<null | boolean>(null);
|
||||||
let rootEl = $ref<null | HTMLElement>(null);
|
let rootEl = $ref<null | HTMLElement>(null);
|
||||||
@ -423,6 +421,8 @@ const timeForThem = $computed(() => {
|
|||||||
return "";
|
return "";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const patrons = $computed(async () => await os.api("patrons"));
|
||||||
|
|
||||||
function menu(ev) {
|
function menu(ev) {
|
||||||
os.popupMenu(
|
os.popupMenu(
|
||||||
getUserMenu(props.user, router),
|
getUserMenu(props.user, router),
|
||||||
|
Loading…
Reference in New Issue
Block a user