Refactoring cursor to be stored in store as key only. A few issues remain.

This commit is contained in:
Leo Vasanko
2023-11-17 19:44:18 -08:00
parent 8da141744e
commit e20b04189f
5 changed files with 92 additions and 81 deletions

View File

@@ -24,7 +24,7 @@ export const useMainStore = defineStore({
error: '' as string,
connected: false,
gallery: false,
cursor: shallowRef<Doc | null>(null),
cursor: '' as string,
server: {} as Record<string, any>,
prefs: {
sortListing: '' as SortOrder,