瀏覽代碼

add: stores for pagination state

Aryan Kothari 9 月之前
父節點
當前提交
49199819db
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/lib/stores/index.ts

+ 3 - 0
src/lib/stores/index.ts

@@ -41,6 +41,9 @@ export const showSettings = writable(false);
 export const showArchivedChats = writable(false);
 export const showChangelog = writable(false);
 export const showCallOverlay = writable(false);
+export const scrollPaginationEnabled = writable(true);
+export const pageSkip = writable(0);
+export const pageLimit = writable(-1);
 
 export type Model = OpenAIModel | OllamaModel;