Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
crstlnz authored Jul 15, 2024
1 parent de1ecfe commit 6e0eece
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ watch(width, () => {
})
// useCSRF()
useAuth()
const {checkAuth} = useAuth()
onMounted(()=>{
checkAuth()
})
</script>

<template>
Expand Down
2 changes: 1 addition & 1 deletion components/home/Recents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const { locale } = useI18n()
</div>
</div>
</div>
<button v-if="date" type="button" class="absolute right-0 bottom-0 text-xs font-light float-right px-3 pt-1 pb-3 truncate" @click="refresh">
<button v-if="date" type="button" class="flex gap-1 items-center absolute right-0 bottom-0 text-xs font-light float-right px-3 pt-1 pb-3 truncate" @click="refresh">
{{ pending ? 'Loading' : $dayjs(date).locale(locale).fromNow() }}
<Icon v-if="!pending" name="ic:outline-refresh" />
<Icon v-else name="svg-spinners:ring-resize" />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jkt48showroom",
"type": "module",
"version": "0.13.8",
"version": "0.13.9",
"packageManager": "pnpm@8.9.0+sha1.01c55344d677f3b481c6bb6ffba9a6b3c6dbd91d",
"engines": {
"node": "20.x.x"
Expand Down

0 comments on commit 6e0eece

Please sign in to comment.