arkon icon indicating copy to clipboard operation
arkon copied to clipboard

Lỗi

Open NguyenTanCACA opened this issue 6 months ago • 1 comments

không thêm đc người vào Workspaces

Image

NguyenTanCACA avatar May 08 '26 11:05 NguyenTanCACA

Bug fixed. Summary:

  • Cause: handleAddMember hardcode role: "member", invalid value according to API
  • Fix: Add state selectedRole (default "viewer"), add Select dropdown for role right next to employee selector in Add form
  • Resetting the role to "viewer" after successful addition is also recommended, add setSelectedEmpId("") there if desired.

nduckmink avatar May 08 '26 11:05 nduckmink