[WEB-2467] fix: platform bug (#5621)
* fix: reaction endpoint * fix: project label edit permission * fix: guest role upgrade * fix: list layout dnd permission * fix: module and cycle toast alert * fix: leave project redirection
This commit is contained in:
parent
7aea820cfa
commit
7d7415b235
11 changed files with 46 additions and 14 deletions
|
|
@ -114,9 +114,7 @@ export const AccountTypeColumn: React.FC<AccountTypeProps> = observer((props) =>
|
|||
<CustomSelect
|
||||
value={value}
|
||||
onChange={(value: EUserPermissions) => {
|
||||
console.log({ value, workspaceSlug }, "onChange");
|
||||
if (!workspaceSlug) return;
|
||||
|
||||
updateMember(workspaceSlug.toString(), rowData.member.id, {
|
||||
role: value as unknown as EUserPermissions, // Cast value to unknown first, then to EUserPermissions
|
||||
}).catch((err) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue