Skip to content

Commit

Permalink
EPMRPP-96056 || Impossible to import launch (#4086)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazarQSO authored Nov 11, 2024
1 parent b5d0acd commit 1d9c96a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions app/src/pages/inside/launchesPage/launchesPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -562,28 +562,11 @@ export class LaunchesPage extends Component {
};

openImportModal = () => {
const {
intl: { formatMessage },
projectKey,
} = this.props;

this.props.tracking.trackEvent(LAUNCHES_PAGE_EVENTS.CLICK_IMPORT_BTN);
this.props.showModalAction({
id: 'importLaunchModal',
data: {
onImport: this.props.fetchLaunchesAction,
title: formatMessage(messages.modalTitle),
importButton: formatMessage(messages.importButton),
tip: formatMessage(messages.importTip),
incorrectFileSize: formatMessage(messages.incorrectFileSize),
noteMessage: formatMessage(messages.noteMessage),
importConfirmationWarning: formatMessage(messages.importConfirmationWarning),
url: URLS.launchImport(projectKey),
eventsInfo: {
okBtn: LAUNCHES_MODAL_EVENTS.OK_BTN_IMPORT_MODAL,
cancelBtn: LAUNCHES_MODAL_EVENTS.CANCEL_BTN_IMPORT_MODAL,
closeIcon: LAUNCHES_MODAL_EVENTS.CLOSE_ICON_IMPORT_MODAL,
},
},
});
};
Expand Down

0 comments on commit 1d9c96a

Please sign in to comment.