feat: sites and authors integration into existing screens (& formated all frontend files kinda accidentally)
This commit is contained in:
1 parent
3d81d2c717
commit
6b8990c55e
239 files changed
+9194
-1354
No files matched your search
@@ -66,6 +66,13 @@ export const useSessionStore = defineStore('session', () => {
|
||||
}
|
||||
}
|
||||
|
||||
function setAuthor(author: MeAuthor | undefined) {
|
||||
if (!session.value) {
|
||||
return
|
||||
}
|
||||
session.value = { ...session.value, author }
|
||||
}
|
||||
|
||||
function clear() {
|
||||
session.value = null
|
||||
status.value = 'ready'
|
||||
@@ -86,6 +93,7 @@ export const useSessionStore = defineStore('session', () => {
|
||||
retry,
|
||||
refresh,
|
||||
clear,
|
||||
setAuthor,
|
||||
setDisplayName,
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user