diff --git a/frontend/src/pages/org/[id]/overview/index.tsx b/frontend/src/pages/org/[id]/overview/index.tsx index 2c9338bb7..255a1c699 100644 --- a/frontend/src/pages/org/[id]/overview/index.tsx +++ b/frontend/src/pages/org/[id]/overview/index.tsx @@ -13,11 +13,11 @@ import { faArrowRight, faArrowUpRightFromSquare, faBorderAll, - faBoxesStacked, faCheck, faCheckCircle, faClipboard, faExclamationCircle, + faFileShield, faHandPeace, faList, faMagnifyingGlass, @@ -618,7 +618,7 @@ const OrganizationPage = withPermission( ); const projectsListView = ( -
+
{isWorkspaceLoading && Array.apply(0, Array(3)).map((_x, i) => (
- -
{workspace.name}
+ +
{workspace.name}
{workspace.environments?.length || 0} environments
- last update: {timeAgo(new Date(workspace.updatedAt), new Date())} + Updated {timeAgo(new Date(workspace.updatedAt), new Date())}
@@ -688,7 +688,16 @@ const OrganizationPage = withPermission(

Projects

-
+
+
+ setSearchFilter(e.target.value)} + leftIcon={} + /> +
{ @@ -696,7 +705,8 @@ const OrganizationPage = withPermission( setProjectsViewMode(ProjectsViewMode.GRID); }} ariaLabel="grid" - className="mr-1 min-w-[2.8rem]" + size="xs" + className={`${projectsViewMode === ProjectsViewMode.GRID ? "bg-mineshaft-500" : "bg-transparent"} hover:bg-mineshaft-600 min-w-[2.4rem] border-none`} > @@ -707,20 +717,12 @@ const OrganizationPage = withPermission( setProjectsViewMode(ProjectsViewMode.LIST); }} ariaLabel="list" - className="min-w-[2.8rem]" + size="xs" + className={`${projectsViewMode === ProjectsViewMode.LIST ? "bg-mineshaft-500" : "bg-transparent"} hover:bg-mineshaft-600 min-w-[2.4rem] border-none`} >
-
-
- setSearchFilter(e.target.value)} - leftIcon={} - /> {(isAllowed) => (