diff --git a/frontend/src/views/DashboardPage/DashboardPage.tsx b/frontend/src/views/DashboardPage/DashboardPage.tsx index f5c64636a..f332b9283 100644 --- a/frontend/src/views/DashboardPage/DashboardPage.tsx +++ b/frontend/src/views/DashboardPage/DashboardPage.tsx @@ -505,7 +505,7 @@ export const DashboardPage = ({ envFromTop }: { envFromTop: string }) => { setIsSecretValueHidden.toggle()} + onClick={() => handlePopUpOpen('secretSnapshots')} > @@ -530,7 +530,15 @@ export const DashboardPage = ({ envFromTop }: { envFromTop: string }) => { setIsSecretValueHidden.toggle()} + onClick={() => { + if (secretContainer.current) { + secretContainer.current.scroll({ + top: 0, + behavior: 'smooth' + }); + } + prepend(DEFAULT_SECRET_VALUE, { shouldFocus: false }); + }} >