feat: signed releases, release feed, notification (read-only)
This commit is contained in:
1 parent
a49eec909c
commit
834493a4f5
49 files changed
+4191
-18
No files matched your search
@@ -51,6 +51,15 @@ export const useSessionStore = defineStore('session', () => {
|
||||
return check()
|
||||
}
|
||||
|
||||
async function refresh() {
|
||||
const { getMe } = useApi()
|
||||
try {
|
||||
session.value = await getMe()
|
||||
} catch {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
function clear() {
|
||||
session.value = null
|
||||
status.value = 'ready'
|
||||
@@ -62,5 +71,5 @@ export const useSessionStore = defineStore('session', () => {
|
||||
}
|
||||
}
|
||||
|
||||
return { status, session, check, retry, clear, setDisplayName }
|
||||
return { status, session, check, retry, refresh, clear, setDisplayName }
|
||||
})
|
||||
Reference in new issue
Block a user