mirror of
https://example.com
synced 2024-11-23 08:46:39 +09:00
patron async computed
This commit is contained in:
parent
344adbe2a1
commit
31acc8caad
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue