Fix totalCount missing import count

This commit is contained in:
carlosmonastyrski
2025-03-18 16:34:31 -03:00
parent 633a2ae985
commit a3e9392a2f

View File

@@ -408,7 +408,8 @@ export const registerDashboardRouter = async (server: FastifyZodProvider) => {
totalDynamicSecretCount,
totalImportCount,
totalSecretCount,
totalCount: (totalFolderCount ?? 0) + (totalDynamicSecretCount ?? 0) + (totalSecretCount ?? 0)
totalCount:
(totalFolderCount ?? 0) + (totalDynamicSecretCount ?? 0) + (totalSecretCount ?? 0) + (totalImportCount ?? 0)
};
}
});