Skip to content

Commit

Permalink
fixed some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
loganwc committed Feb 13, 2025
1 parent 59c0452 commit 7261c53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/BulkAssignment/BulkAssignmentModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export const BulkAssignmentModal = ({ onClose, onSubmit, title, submitText, clos
if (data.bulkAssignmentMoveIDs === undefined) {
setIsDisabled(true);
setNumberOfMoves(0);
} else {
setNumberOfMoves(data.bulkAssignmentMoveIDs.length);
}
});
} catch (err) {
Expand Down Expand Up @@ -96,6 +98,7 @@ export const BulkAssignmentModal = ({ onClose, onSubmit, title, submitText, clos
{({ handleChange, setValues, values }) => {
const handleAssignmentChange = (event, i) => {
handleChange(event);
setIsError(false);

let newUserAssignment;
if (event.target.value !== '') {
Expand Down
2 changes: 2 additions & 0 deletions src/components/BulkAssignment/BulkAssignmentModal.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'shared/styles/colors.scss';

.BulkModal {
min-width: 650px !important;
max-width: 60vw;
Expand Down

0 comments on commit 7261c53

Please sign in to comment.