GUI Metadata run configuration omit selected items warning on redirect after launch
@@ -568,6 +568,7 @@ export default class Metadata extends React.Component {
}
return <span title={data.value}>{data.value}</span>;
};
+
onDeleteSelectedItems = () => {
const removeConfiguration = async () => {
const selectedIds = this.state.selectedItems.map(item => item.rowKey.value);
@@ -866,6 +867,7 @@ export default class Metadata extends React.Component {
this.setState({selectedItem, metadata: true});
}
};
+
onClearFilters = () => {
const {filterModel} = this.state;
filterModel.filters = [];
@@ -881,17 +883,20 @@ export default class Metadata extends React.Component {
() => this.loadData()
);
};
+
onClearSelectionItems = () => {
this.setState({
selectedItems: [],
selectedItemsAreShowing: false
}, () => this.paginationOnChange(FIRST_PAGE));
};
+
onCopySelectionItems = () => {
this.setState({
copyEntitiesDialogVisible: true
});
};
+
onCloseCopySelectionItemsDialog = (destinationFolder) => {
this.setState({
copyEntitiesDialogVisible: false
@@ -906,12 +911,14 @@ export default class Metadata extends React.Component {
}
});
};
+
onSelectConfigurationConfirm = async (selectedConfiguration, expansionExpression) => {
this.selectedConfiguration = selectedConfiguration;
this.expansionExpression = expansionExpression;
await this.runConfiguration(false);
};
+
onCloseConfigurationBrowser = () => {
this.selectedConfiguration = null;
this.expansionExpression = '';
@@ -1011,6 +1018,7 @@ export default class Metadata extends React.Component {
}
}
};
+
runConfiguration = async (isCluster) => {
const hide = message.loading('Launching...', 0);
const request = new ConfigurationRun(this.expansionExpression);
@@ -1030,9 +1038,14 @@ export default class Metadata extends React.Component {
if (request.error) {
message.error(request.error);
} else {
+ this.setState({
+ selectedItemsCanBeSkipped: true
+ }, () => {
SessionStorageWrapper.navigateToActiveRuns(this.props.router);
+ });
}
};
+
renderContent = () => {
const renderTable = () => {
return [
