webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsTableSchema.js in katello-3.12.3 vs webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsTableSchema.js in katello-3.13.0.rc1
- old
+ new
@@ -1,9 +1,9 @@
import React from 'react';
import { FormGroup, FormControl, ControlLabel, HelpBlock } from 'react-bootstrap';
import { translate as __ } from 'foremanReact/common/I18n';
-import helpers from '../../../move_to_foreman/common/helpers';
+import { urlBuilder } from 'foremanReact/common/urlHelpers';
import {
headerFormatter,
cellFormatter,
selectionHeaderCellFormatter,
selectionCellFormatter,
@@ -30,10 +30,10 @@
},
cell: {
formatters: [
(value, { rowData }) => (
<td>
- <a href={helpers.urlBuilder('subscriptions', '', rowData.id)}>
+ <a href={urlBuilder('subscriptions', '', rowData.id)}>
{rowData.product_name}
</a>
</td>
),
],