requested changes

This commit is contained in:
Daniel Hougaard
2025-11-25 16:04:38 -08:00
parent 28699023f5
commit c9ce9ac306
4 changed files with 18 additions and 15 deletions
@@ -76,7 +76,10 @@ export const DynamicSecretListView = ({
};
useEffect(() => {
if (selectedDynamicSecretId) {
if (
selectedDynamicSecretId &&
dynamicSecrets.find((secret) => secret.id === selectedDynamicSecretId)
) {
handlePopUpOpen("dynamicSecretLeases", selectedDynamicSecretId);
}
}, [selectedDynamicSecretId]);