(login) save login

This commit is contained in:
2021-03-17 23:25:58 +01:00
parent 6f5ea41824
commit 2faabb6c0e
13 changed files with 255 additions and 29 deletions

View File

@@ -10,13 +10,12 @@ export const useQueryStackedNotes = () => {
const { query } = useRoute()
if (initial) {
initial = false
stackedNotes.value = Array.isArray(query.stackedNotes)
? (query.stackedNotes
.map((n) => n?.toString())
.filter((n) => !!n) as string[])
: ([query.stackedNotes]
.map((n) => n?.toString())
.filter((n) => !!n) as string[])
stackedNotes.value = (Array.isArray(query.stackedNotes)
? query.stackedNotes
: [query.stackedNotes]
)
.map((n) => n?.toString())
.filter((n) => !!n) as string[]
}
return {