Describe the bug
When adding a user that is already in a group, there is no error/message shown
To Reproduce
- Create a group.
- Add a user to the group.
- Attempt to add the same user to the same group again.
Logs:
prisma:error
Invalid `prisma.groupUser.createMany()` invocation:
Unique constraint failed on the fields: (`groupId`,`userId`)
Expected behavior
Perhaps the UI should show a message that the user already exists in the group, and the error should be handled gracefully.
Screenshots
N/A
App version
v.2.1.5
Desktop (please complete the following information):
- OS: Ubuntu Server
- Browser: N/A
- Version: N/A
Smartphone (please complete the following information):
N/A
Additional context
Describe the bug
When adding a user that is already in a group, there is no error/message shown
To Reproduce
Logs:
Expected behavior
Perhaps the UI should show a message that the user already exists in the group, and the error should be handled gracefully.
Screenshots
N/A
App version
v.2.1.5
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context