From 7ac5077626a25a4189d845350eb98bdd75956220 Mon Sep 17 00:00:00 2001 From: Rohan Chaturvedi Date: Mon, 15 Jan 2024 17:20:50 +0530 Subject: [PATCH] feat: add empty state to secrets overview tab (#154) --- frontend/app/[team]/apps/[app]/page.tsx | 80 ++++++++++++++++--------- 1 file changed, 52 insertions(+), 28 deletions(-) diff --git a/frontend/app/[team]/apps/[app]/page.tsx b/frontend/app/[team]/apps/[app]/page.tsx index 44b4dc31f..f06792b11 100644 --- a/frontend/app/[team]/apps/[app]/page.tsx +++ b/frontend/app/[team]/apps/[app]/page.tsx @@ -436,37 +436,61 @@ export default function Secrets({ params }: { params: { team: string; app: strin - - - - - {data?.appEnvironments.map((env: EnvironmentType) => ( - + + + ))} - - - - {filteredSecrets.map((appSecret, index) => ( - - ))} - -
- key - - - - -
+ + + )} ))}