Skip to content

Commit

Permalink
fix: random responsible generator fixed (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiSanto authored Jan 4, 2023
1 parent fb41833 commit 9e76613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Board/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const BoardSettings = ({

// Method to generate a random responsible
const handleRandomResponsible = () => {
if (switchesState.responsible) return;
if (!switchesState.responsible) return;

const cloneUsers = [...deepClone(data.users)].map((user) => ({
...user,
Expand Down

0 comments on commit 9e76613

Please sign in to comment.