From e50fe671ce7b9f38b9f182d706484bd8de9d79e7 Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Tue, 5 Oct 2021 11:10:47 +0000 Subject: [PATCH] [dashboard] Rename 'Workspaces' pages to 'My Workspaces' --- components/dashboard/src/Menu.tsx | 6 +++--- components/dashboard/src/workspaces/Workspaces.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/dashboard/src/Menu.tsx b/components/dashboard/src/Menu.tsx index 8eeee5693afdb3..46976903fcdee0 100644 --- a/components/dashboard/src/Menu.tsx +++ b/components/dashboard/src/Menu.tsx @@ -94,7 +94,7 @@ export default function Menu() { link: `${teamOrUserSlug}/${projectName}` }, { - title: 'Workspaces', + title: 'My Workspaces', link: `${teamOrUserSlug}/${projectName}/workspaces` }, { @@ -117,7 +117,7 @@ export default function Menu() { link: `/t/${team.slug}/projects`, }, { - title: 'Workspaces', + title: 'My Workspaces', link: `/t/${team.slug}/workspaces`, alternatives: [`/t/${team.slug}`] }, @@ -142,7 +142,7 @@ export default function Menu() { link: '/projects' }, { - title: 'Workspaces', + title: 'My Workspaces', link: '/workspaces', alternatives: ['/'] }, diff --git a/components/dashboard/src/workspaces/Workspaces.tsx b/components/dashboard/src/workspaces/Workspaces.tsx index c3f5ae5bbb8e2f..1f3adc38e43eba 100644 --- a/components/dashboard/src/workspaces/Workspaces.tsx +++ b/components/dashboard/src/workspaces/Workspaces.tsx @@ -125,7 +125,7 @@ export default function () { } return <> -
+
{workspaceModel?.initialized && ( activeWorkspaces.length > 0 || inactiveWorkspaces.length > 0 || workspaceModel.searchTerm ?