mongodb json view default collection page size #976

This commit is contained in:
SPRINX0\prochazka
2025-01-24 11:47:53 +01:00
parent 82be1df5bf
commit ba971e4a67
2 changed files with 8 additions and 1 deletions

View File

@@ -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;