From 8c707cc5449333080d7979aef4d84dee706df2b8 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Mon, 15 May 2023 23:58:41 +0530 Subject: [PATCH] fix: lower role user cannot update higher role user (#1048) * fix: user role update * chore: update project member update service type --- .../components/emoji-icon-picker/index.tsx | 3 +- apps/app/components/icons/target-icon.tsx | 2 +- .../workspace/single-invitation.tsx | 2 +- .../projects/[projectId]/settings/members.tsx | 56 ++++++++++++------- .../[workspaceSlug]/settings/members.tsx | 56 +++++++++++-------- apps/app/public/empty-state/empty-cycle.svg | 4 +- apps/app/public/empty-state/empty-issue.svg | 8 +-- apps/app/public/empty-state/empty-module.svg | 4 +- apps/app/public/empty-state/empty-view.svg | 32 +++++------ apps/app/public/onboarding/issue.svg | 2 +- apps/app/services/project.service.ts | 2 +- apps/app/services/workspace.service.ts | 2 +- 12 files changed, 101 insertions(+), 72 deletions(-) diff --git a/apps/app/components/emoji-icon-picker/index.tsx b/apps/app/components/emoji-icon-picker/index.tsx index 592d7bb01..e52335e47 100644 --- a/apps/app/components/emoji-icon-picker/index.tsx +++ b/apps/app/components/emoji-icon-picker/index.tsx @@ -99,9 +99,9 @@ const EmojiIconPicker: React.FC = ({
{recentEmojis.map((emoji) => (