|
@@ -8,12 +8,9 @@ import PageContainer from '../services/PageContainer';
|
|
|
import { convertToNewAffiliationPath } from '../../../lib/util/path-utils';
|
|
import { convertToNewAffiliationPath } from '../../../lib/util/path-utils';
|
|
|
|
|
|
|
|
function ComparePathsTable(props) {
|
|
function ComparePathsTable(props) {
|
|
|
- const { subordinatedPages, pageContainer } = props;
|
|
|
|
|
|
|
+ const { subordinatedPages, pageContainer, newPagePath } = props;
|
|
|
const { path } = pageContainer.state;
|
|
const { path } = pageContainer.state;
|
|
|
|
|
|
|
|
- // Dummy
|
|
|
|
|
- const newPagePath = 'huga';
|
|
|
|
|
-
|
|
|
|
|
return (
|
|
return (
|
|
|
<table className="table table-bordered">
|
|
<table className="table table-bordered">
|
|
|
<tbody>
|
|
<tbody>
|
|
@@ -65,6 +62,7 @@ ComparePathsTable.propTypes = {
|
|
|
|
|
|
|
|
pageContainer: PropTypes.instanceOf(PageContainer).isRequired,
|
|
pageContainer: PropTypes.instanceOf(PageContainer).isRequired,
|
|
|
subordinatedPages: PropTypes.array.isRequired,
|
|
subordinatedPages: PropTypes.array.isRequired,
|
|
|
|
|
+ newPagePath: PropTypes.string.isRequired,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|