diff --git a/frontend/src/pages/dashboard/[id].tsx b/frontend/src/pages/dashboard/[id].tsx index d5b26c2f5a..180fc493f9 100644 --- a/frontend/src/pages/dashboard/[id].tsx +++ b/frontend/src/pages/dashboard/[id].tsx @@ -549,7 +549,7 @@ export default function Dashboard() { toggleSidebar={toggleSidebar} data={data.filter( (row: SecretDataProps) => - row.key === data.filter((r) => r.id === sidebarSecretId)[0]?.key + row.id === sidebarSecretId )} modifyKey={listenChangeKey} modifyValue={listenChangeValue}