fix(grid): separate table open row limit
This commit is contained in:
6 files changed
+59
-15
No files matched your search
@@ -2694,7 +2694,7 @@ export const useQueryStore = defineStore("query", () => {
|
||||
countSql = plan.countSql;
|
||||
useAgentResultSession = plan.useAgentResultSession;
|
||||
} else if (tab.mode === "data") {
|
||||
pageLimit = options?.pagination?.limit ?? tableOpenPageLimit(settingsStore.editorSettings.pageSize);
|
||||
pageLimit = options?.pagination?.limit ?? tableOpenPageLimit();
|
||||
pageOffset = options?.pagination?.offset ?? 0;
|
||||
}
|
||||
|
||||
@@ -3268,7 +3268,7 @@ export const useQueryStore = defineStore("query", () => {
|
||||
pagination:
|
||||
tab.mode === "data"
|
||||
? {
|
||||
limit: tab.resultPageLimit ?? tableOpenPageLimit(useSettingsStore().editorSettings.pageSize),
|
||||
limit: tab.resultPageLimit ?? tableOpenPageLimit(),
|
||||
offset: tab.resultPageOffset ?? 0,
|
||||
}
|
||||
: undefined,
|
||||
|
||||
Reference in new issue
Block a user