mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 15:25:59 +00:00
mongodb json view default collection page size #976
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
import contextMenu, { getContextMenu, registerMenu } from '../utility/contextMenu';
|
||||
import CollectionJsonRow from './CollectionJsonRow.svelte';
|
||||
import { getIntSettingsValue } from '../settings/settingsTools';
|
||||
|
||||
export let conid;
|
||||
export let database;
|
||||
@@ -34,7 +35,7 @@
|
||||
|
||||
let loadedRows = [];
|
||||
let skip = 0;
|
||||
let limit = 50;
|
||||
let limit = getIntSettingsValue('dataGrid.collectionPageSize', 50, 5, 1000);
|
||||
|
||||
async function loadData() {
|
||||
isLoading = true;
|
||||
|
||||
Reference in New Issue
Block a user