Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix find by id in vault (#37101)

Jordi Enrica20a47c75a06
diff --git a/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx b/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx
index 2faf363d538..47a7262ee50 100644
--- a/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx
+++ b/apps/studio/components/interfaces/Integrations/Vault/Secrets/SecretsManagement.tsx
@@ -39,8 +39,10 @@ export const SecretsManagement = () => {
const allSecrets = data || []
const secrets = sortBy(
searchValue.length > 0
- ? allSecrets.filter((secret) =>
- (secret?.name ?? '').toLowerCase().includes(searchValue.toLowerCase())
+ ? allSecrets.filter(
+ (secret) =>
+ (secret?.name ?? '').toLowerCase().includes(searchValue.toLowerCase()) ||
+ (secret?.id ?? '').toLowerCase().includes(searchValue.toLowerCase())
)
: allSecrets,
(s) => {