Skip to content

Commit

Permalink
Fixed variable typo for editor selection
Browse files Browse the repository at this point in the history
Related to #5472
  • Loading branch information
HelNershingThapa authored and dakotabenjamin committed Dec 13, 2022
1 parent c68f427 commit deb18be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/components/taskSelection/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ export function TaskMapAction({
? [userDetails.defaultEditor]
: project.mappingEditors;
} else {
editorToUse = project.validationLockTimeExpiredDialogEditors.includes(
userDetails.defaultEditor,
)
editorToUse = project.validationEditors.includes(userDetails.defaultEditor)
? [userDetails.defaultEditor]
: project.validationEditors;
}
Expand Down

0 comments on commit deb18be

Please sign in to comment.