webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js in katello-4.12.1 vs webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js in katello-4.13.0.rc1
- old
+ new
@@ -220,22 +220,25 @@
const tableColumns = columns(this, selectionController);
const rows = getSelectedUpstreamSubscriptions();
return (
<Grid bsClass="container-fluid">
- <BreadcrumbsBar data={{
- isSwitchable: false,
- breadcrumbItems: [
- {
- caption: __('Subscriptions'),
- onClick: () => this.props.history.push('/subscriptions'),
- },
- {
- caption: __('Add Subscriptions'),
- },
- ],
- }}
- />
+ {!upstreamSubscriptions.loading &&
+ <div style={{ marginBottom: '10px' }}>
+ <BreadcrumbsBar
+ isLoadingResources={upstreamSubscriptions.loading}
+ breadcrumbItems={[
+ {
+ caption: __('Subscriptions'),
+ url: '/subscriptions/',
+ },
+ {
+ caption: String(__('Add Subscriptions')),
+ },
+ ]}
+ />
+ </div>
+ }
<LoadingState loading={upstreamSubscriptions.loading} loadingText={__('Loading')}>
<Row>
<Col sm={12}>
<Table