Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPMRPP-96556 || New user displayed invalid in recipient field #4079

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ export const getLaunchModeConfig = ({
}) => {
const colors = {};
const columns = [];
// EPMRPP-96393 (GitHub #2381): Changed sorting from -item.number to startTime-based sorting
// for consistency across all chart widgets. This ensures chronological ordering
// based on actual launch times rather than launch names/numbers.
const sortedResult = content.sort((a, b) => {
const startTimeA = new Date(a.startTime);
const startTimeB = new Date(b.startTime);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import { AsyncAutocomplete } from 'components/inputs/autocompletes/asyncAutocomp
import { InputDropdown } from 'components/inputs/inputDropdown';
import { MEMBERS_PAGE_EVENTS } from 'components/main/analytics/events';
import { InputUserSearch, makeOptions } from 'components/inputs/inputUserSearch';
import { fetchProjectAction } from 'controllers/project/actionCreators';
import styles from './inviteUserModal.scss';

const cx = classNames.bind(styles);
Expand Down Expand Up @@ -103,6 +104,7 @@ const inviteFormSelector = formValueSelector('inviteUserForm');
showScreenLockAction,
hideScreenLockAction,
showNotification,
fetchProjectAction,
},
)
@reduxForm({
Expand Down Expand Up @@ -131,6 +133,7 @@ export class InviteUserModal extends Component {
isAdmin: PropTypes.bool,
dirty: PropTypes.bool,
areUserSuggestionsAllowed: PropTypes.bool.isRequired,
fetchProjectAction: PropTypes.func.isRequired,
};

static defaultProps = {
Expand Down Expand Up @@ -208,6 +211,7 @@ export class InviteUserModal extends Component {
type: NOTIFICATION_TYPES.SUCCESS,
});
onInvite();
this.props.fetchProjectAction(selectedProject, false);
})
.catch((err) => {
this.props.showNotification({
Expand Down
Loading