fix: lower role user cannot update higher role user (#1048)
* fix: user role update * chore: update project member update service type
This commit is contained in:
parent
abe021071c
commit
8c707cc544
12 changed files with 101 additions and 72 deletions
|
|
@ -99,9 +99,9 @@ const EmojiIconPicker: React.FC<Props> = ({
|
|||
<div className="grid grid-cols-8 gap-2">
|
||||
{recentEmojis.map((emoji) => (
|
||||
<button
|
||||
key={emoji}
|
||||
type="button"
|
||||
className="flex h-4 w-4 select-none items-center justify-between text-sm"
|
||||
key={emoji}
|
||||
onClick={() => {
|
||||
onChange(emoji);
|
||||
setIsOpen(false);
|
||||
|
|
@ -147,6 +147,7 @@ const EmojiIconPicker: React.FC<Props> = ({
|
|||
"#000000",
|
||||
].map((curCol) => (
|
||||
<span
|
||||
key={curCol}
|
||||
className="h-4 w-4 cursor-pointer rounded-full"
|
||||
style={{ backgroundColor: curCol }}
|
||||
onClick={() => setActiveColor(curCol)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue