From 50e0cb7ffdf5b6c225f25954a5a084b850632066 Mon Sep 17 00:00:00 2001
From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Date: Mon, 24 Mar 2025 18:21:12 +0530
Subject: [PATCH] [RANTS-75] chore: update profile sidebar icons and copy for
consistency (#6808)
---
web/app/profile/sidebar.tsx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/web/app/profile/sidebar.tsx b/web/app/profile/sidebar.tsx
index 07fd746c6..59e3daa48 100644
--- a/web/app/profile/sidebar.tsx
+++ b/web/app/profile/sidebar.tsx
@@ -9,13 +9,13 @@ import {
ChevronLeft,
LogOut,
MoveLeft,
- Plus,
- UserPlus,
Activity,
Bell,
CircleUser,
KeyRound,
Settings2,
+ CirclePlus,
+ Mails,
} from "lucide-react";
// plane imports
import { PROFILE_ACTION_LINKS } from "@plane/constants";
@@ -35,14 +35,14 @@ import { usePlatformOS } from "@/hooks/use-platform-os";
const WORKSPACE_ACTION_LINKS = [
{
key: "create_workspace",
- Icon: Plus,
- label: "Create workspace",
+ Icon: CirclePlus,
+ i18n_label: "create_workspace",
href: "/create-workspace",
},
{
key: "invitations",
- Icon: UserPlus,
- label: "Invitations",
+ Icon: Mails,
+ i18n_label: "workspace_invites",
href: "/invitations",
},
];
@@ -243,8 +243,8 @@ export const ProfileLayoutSidebar = observer(() => {
sidebarCollapsed ? "justify-center" : ""
}`}
>
- {}
- {!sidebarCollapsed && t(link.key)}
+ {}
+ {!sidebarCollapsed && t(link.i18n_label)}