From 67f2276224038a0d4dac1fae4cdac60471fb68fe Mon Sep 17 00:00:00 2001 From: DoraCretu594118 <103416234+doracretu3pillar@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:16:44 +0200 Subject: [PATCH] Removed console logs from RestoreHistory --- .../backup/components/RestoreHistory/RestoreHistory.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public/app/percona/backup/components/RestoreHistory/RestoreHistory.tsx b/public/app/percona/backup/components/RestoreHistory/RestoreHistory.tsx index 42e34b6243d4a..8abebab5c03d7 100644 --- a/public/app/percona/backup/components/RestoreHistory/RestoreHistory.tsx +++ b/public/app/percona/backup/components/RestoreHistory/RestoreHistory.tsx @@ -194,16 +194,13 @@ export const RestoreHistory: FC = () => { }; const onLogClick = (restore: Restore) => { - console.log('onLogClick', restore); setSelectedRestore(restore); setLogsModalVisible(true); }; const getLogs = useCallback( - async (startingChunk: number, offset: number, token?: CancelToken) => { - console.log('selectedRestore!.id', selectedRestore!.id); - return RestoreHistoryService.getLogs(selectedRestore!.id, startingChunk, offset, token) - } + async (startingChunk: number, offset: number, token?: CancelToken) => + RestoreHistoryService.getLogs(selectedRestore!.id, startingChunk, offset, token), [selectedRestore] );