diff --git a/web/sdk/react/views-new/billing/billing-view.tsx b/web/sdk/react/views-new/billing/billing-view.tsx index de5cdcaa7..b9f096914 100644 --- a/web/sdk/react/views-new/billing/billing-view.tsx +++ b/web/sdk/react/views-new/billing/billing-view.tsx @@ -158,7 +158,6 @@ export function BillingView({ onNavigateToPlans }: BillingViewProps) { return ( - {hasNoAccess ? ( ) : ( <> + - } width="100%"> + } + width="100%" + > Warning: Make sure you copy the above token now. This token will only be shown once. Store it securely. diff --git a/web/sdk/react/views-new/pat/pat-view.tsx b/web/sdk/react/views-new/pat/pat-view.tsx index 7f318dd63..45137278b 100644 --- a/web/sdk/react/views-new/pat/pat-view.tsx +++ b/web/sdk/react/views-new/pat/pat-view.tsx @@ -154,10 +154,12 @@ export function PatsView({ onPATClick }: PatsViewProps = {}) { return ( - + {!hasNoPats && ( + + )} {isInitialLoading ? ( diff --git a/web/sdk/react/views-new/plans/plans-view.tsx b/web/sdk/react/views-new/plans/plans-view.tsx index c73f75de1..6befcfbc1 100644 --- a/web/sdk/react/views-new/plans/plans-view.tsx +++ b/web/sdk/react/views-new/plans/plans-view.tsx @@ -149,7 +149,6 @@ export function PlansView() { if (plans.length === 0) { return ( - } diff --git a/web/sdk/react/views-new/projects/projects-view.tsx b/web/sdk/react/views-new/projects/projects-view.tsx index 6b3090ca1..2f4bb4049 100644 --- a/web/sdk/react/views-new/projects/projects-view.tsx +++ b/web/sdk/react/views-new/projects/projects-view.tsx @@ -142,7 +142,6 @@ export function ProjectsView({ if (hasNoProjects) { return ( - - {hasNoAccess ? ( - } + icon={} heading="Restricted Access" subHeading="Admin access required, please reach out to your admin incase you want to generate a key." /> @@ -185,66 +174,72 @@ export function ServiceAccountsView({ } /> ) : ( - onServiceAccountClick?.(row.id)} - > - - - + <> + + onServiceAccountClick?.(row.id)} + > + + + + {isLoading ? ( + + ) : ( + + )} + {isLoading ? ( - + ) : ( - + + } + > + + + {!canUpdateWorkspace && ( + {AuthTooltipMessage} + )} + )} - {isLoading ? ( - - ) : ( - - } - > - - - {!canUpdateWorkspace && ( - {AuthTooltipMessage} - )} - - )} + } + heading="No service accounts found" + subHeading="Try adjusting your search" + /> + } + classNames={{ + root: styles.tableRoot, + table: styles.table + }} + /> - } - heading="No service accounts found" - subHeading="Try adjusting your search" - /> - } - classNames={{ - root: styles.tableRoot, - table: styles.table - }} - /> - - + + )} diff --git a/web/sdk/react/views-new/teams/teams-view.tsx b/web/sdk/react/views-new/teams/teams-view.tsx index 22ec29c28..1f642a59b 100644 --- a/web/sdk/react/views-new/teams/teams-view.tsx +++ b/web/sdk/react/views-new/teams/teams-view.tsx @@ -138,13 +138,6 @@ export function TeamsView({ if (hasNoTeams) { return ( -