mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
refactor: update session management to handle tasks and responses in a single update
This commit is contained in:
1 parent
66434ff897
commit
2fcca0c4b9
4 files changed
+32
-17
No files matched your search
@@ -5,6 +5,7 @@ import useSession from '../../store/session'
|
||||
|
||||
const sessionStore = useSession()
|
||||
const tasks = computed(() => {
|
||||
console.log('session', sessionStore.session)
|
||||
return sessionStore.session?.tasks.map((task) => {
|
||||
const prefix = task.completed ? '✓' : '➤'
|
||||
const color = task.completed ? 'text-text-primary' : 'text-text'
|
||||
|
||||
Reference in new issue
Block a user