feat: sites and authors integration into existing screens (& formated all frontend files kinda accidentally)

This commit is contained in:
Florian Sylvain committed 2026-10-15 05:25:44 +02:00
1 parent 3d81d2c717
commit 6b8990c55e
239 files changed
+9194 -1354

No files matched your search

+8
View File
@@ -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,
}
})