[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:
Anmol Singh Bhatia 2024-09-17 16:43:51 +05:30 committed by GitHub
parent 7aea820cfa
commit 7d7415b235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 46 additions and 14 deletions

View file

@ -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) => {