You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some checks and cleanups are required in the code associated with action items and action item categories:
In createActionItem mutation, a check should be added for disabled action item category, i.e. we should not be able to create an action item for a disabled action item category.
In updateActionItemCategory mutation, an error message should be added for the cases we're updating its name to be one for which an action item category already exist.
Remove unnecessary & unused queries that were made prematurely. actionItemCategory, actionItem.
Solution
Add the required checks and error messages.
Check for unused code and remove it.
Additional details
This is a cleanup issue, which is meant to take care of some bugs and oversights that I've noticed while working on the frontend for action items.
Describe the bug
Some checks and cleanups are required in the code associated with action items and action item categories:
createActionItem
mutation, a check should be added for disabled action item category, i.e. we should not be able to create an action item for a disabled action item category.updateActionItemCategory
mutation, an error message should be added for the cases we're updating its name to be one for which an action item category already exist.actionItemCategory
,actionItem
.Solution
Additional details
This is a cleanup issue, which is meant to take care of some bugs and oversights that I've noticed while working on the frontend for action items.
Action Items api-issue #1595
Action Items admin-issue PalisadoesFoundation/talawa-admin#1462
The text was updated successfully, but these errors were encountered: