patron async computed
This commit is contained in:
parent
344adbe2a1
commit
31acc8caad
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue