webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-3.18.0.rc1 vs webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-3.18.0.rc2

- old
+ new

@@ -1,10 +1,11 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Grid, Col, Row, Tabs, Tab, Form, FormGroup, FormControl, ControlLabel } from 'react-bootstrap'; import { Button, Spinner } from 'patternfly-react'; import ForemanModal from 'foremanReact/components/ForemanModal'; +import Slot from 'foremanReact/components/common/Slot'; import { translate as __ } from 'foremanReact/common/I18n'; import TooltipButton from '../../../components/TooltipButton'; import { LoadingState } from '../../../components/LoadingState'; import { Table } from '../../../components/pf3Table'; @@ -248,21 +249,21 @@ disabled={!isManifestImported || actionInProgress || disableManifestActions} /> } {canDeleteManifest && - <React.Fragment> - <TooltipButton - disabled={!isManifestImported || actionInProgress} - bsStyle="danger" - onClick={this.showDeleteManifestModal} - title={__('Delete')} - tooltipId="delete-manifest-button-tooltip" - tooltipText={this.disabledTooltipText()} - tooltipPlacement="top" - /> - </React.Fragment> + <React.Fragment> + <TooltipButton + disabled={!isManifestImported || actionInProgress} + bsStyle="danger" + onClick={this.showDeleteManifestModal} + title={__('Delete')} + tooltipId="delete-manifest-button-tooltip" + tooltipText={this.disabledTooltipText()} + tooltipPlacement="top" + /> + </React.Fragment> } </div> <ForemanModal title={__('Confirm delete manifest')} id={DELETE_MANIFEST_MODAL_ID}> <DeleteManifestModalText /> <ForemanModal.Footer> @@ -278,9 +279,10 @@ </Row> </Grid> </FormGroup> </React.Fragment> } + <Slot id="katello-manage-manifest-form" multi /> </Form> </Tab> } <Tab eventKey={2} title={__('Manifest History')}> <LoadingState loading={manifestHistory.loading} loadingText={__('Loading')}>