webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-4.14.0 vs webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js in katello-4.14.1

- old
+ new

@@ -2,18 +2,19 @@ import PropTypes from 'prop-types'; import { Grid, Col, Row, Tabs, Tab, FormControl, ControlLabel } from 'react-bootstrap'; import { FormattedMessage } from 'react-intl'; import { Button, Spinner } from 'patternfly-react'; import { Alert } from '@patternfly/react-core'; -import { propsToCamelCase } from 'foremanReact/common/helpers'; +import { propsToCamelCase, getDocsURL } from 'foremanReact/common/helpers'; 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'; + import { columns } from './ManifestHistoryTableSchema'; import DeleteManifestModalText from './DeleteManifestModalText'; import { MANAGE_MANIFEST_MODAL_ID, DELETE_MANIFEST_MODAL_ID } from './ManifestConstants'; import { CONTENT_CREDENTIAL_CERT_TYPE } from '../../ContentCredentials/ContentCredentialConstants'; import CdnConfigurationForm from './CdnConfigurationTab'; @@ -30,11 +31,11 @@ if (!prevProps.taskInProgress && this.props.taskInProgress) { this.hideModal(); } if (prevProps.taskInProgress && !this.props.taskInProgress) { - this.props.loadOrganization(); + this.props.loadOrganization({ force_manifest_expire_cache: true }); this.props.loadManifestHistory(); } if (!prevProps.manifestActionStarted && this.props.manifestActionStarted) { this.hideDeleteManifestModal(); @@ -109,11 +110,12 @@ const emptyStateData = () => ({ header: __('There is no manifest history to display.'), description: __('Import a manifest using the Manifest tab above.'), documentation: { - label: __('Learn more about adding subscription manifests '), - url: 'https://access.redhat.com/solutions/3410771', + label: __('Learn more about adding subscription manifests in '), + buttonLabel: __('the documentation.'), + url: getDocsURL('Managing_Content', 'Managing_Red_Hat_Subscriptions_content-management'), }, }); const getManifestName = () => { let name = __('No manifest imported');