mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 17:40:44 +00:00
Improve referenced secret deletion message component
This commit is contained in:
@@ -581,6 +581,7 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
|
||||
folders: z
|
||||
.object({
|
||||
folderName: z.string(),
|
||||
folderImported: z.boolean(),
|
||||
secrets: z.array(z.string()).optional()
|
||||
})
|
||||
.array()
|
||||
@@ -856,6 +857,7 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
|
||||
actorAuthMethod: req.permission.authMethod,
|
||||
actorOrgId: req.permission.orgId
|
||||
});
|
||||
|
||||
if (secrets?.length || secretRotations?.length) {
|
||||
const secretCount =
|
||||
(secrets?.length ?? 0) +
|
||||
|
||||
Reference in New Issue
Block a user