diff --git a/frontend/src/pages/SettingsApplication.tsx b/frontend/src/pages/SettingsApplication.tsx index 238f6610..5cfacf6a 100644 --- a/frontend/src/pages/SettingsApplication.tsx +++ b/frontend/src/pages/SettingsApplication.tsx @@ -33,6 +33,7 @@ const SettingsApplication = () => { const { userConfig } = useUserConfigStore(); const [response, setResponse] = useState(); const [refresh, setRefresh] = useState(false); + const [visibleSnapshotCount, setVisibleSnapshotCount] = useState(10); const snapshots = response?.snapshots; const appSettingsConfig = response?.appSettingsConfig; @@ -976,10 +977,9 @@ const SettingsApplication = () => {


{restoringSnapshot &&

Snapshot restore started

} - {!restoringSnapshot && - snapshots.snapshots && - snapshots.snapshots.map(snapshot => { - return ( + {!restoringSnapshot && snapshots.snapshots && ( + <> + {snapshots.snapshots?.slice(0, visibleSnapshotCount).map(snapshot => (