fix: Fix panorama + route scale data

This commit is contained in:
2025-07-26 11:48:41 +03:00
parent 89d7fc2748
commit 470a58a3fa
7 changed files with 43 additions and 20 deletions

View File

@ -117,12 +117,15 @@ export const SnapshotListPage = observer(() => {
<SnapshotRestore
open={isRestoreModalOpen}
loading={isLoading}
onDelete={async () => {
setIsLoading(true);
if (rowId) {
await restoreSnapshot(rowId);
}
setIsRestoreModalOpen(false);
setRowId(null);
setIsLoading(false);
}}
onCancel={() => {
setIsRestoreModalOpen(false);