aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/settings/licenses
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/licenses')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js4
-rw-r--r--server/sonar-web/src/main/js/apps/settings/licenses/LicensesListContainer.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js b/server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js
index af004df569f..0b8fefd5c39 100644
--- a/server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js
+++ b/server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js
@@ -19,11 +19,11 @@
*/
import { connect } from 'react-redux';
import LicenseRow from './LicenseRow';
-import { getLicenseByKey } from '../store/rootReducer';
import { setLicense } from '../store/licenses/actions';
+import { getSettingsAppLicenseByKey } from '../../../app/store/rootReducer';
const mapStateToProps = (state, ownProps) => ({
- license: getLicenseByKey(state, ownProps.licenseKey)
+ license: getSettingsAppLicenseByKey(state, ownProps.licenseKey)
});
export default connect(
diff --git a/server/sonar-web/src/main/js/apps/settings/licenses/LicensesListContainer.js b/server/sonar-web/src/main/js/apps/settings/licenses/LicensesListContainer.js
index bd692b7e390..ca19e0a2b41 100644
--- a/server/sonar-web/src/main/js/apps/settings/licenses/LicensesListContainer.js
+++ b/server/sonar-web/src/main/js/apps/settings/licenses/LicensesListContainer.js
@@ -20,10 +20,10 @@
import { connect } from 'react-redux';
import LicensesList from './LicensesList';
import { fetchLicenses } from '../store/licenses/actions';
-import { getAllLicenseKeys } from '../store/rootReducer';
+import { getSettingsAppAllLicenseKeys } from '../../../app/store/rootReducer';
const mapStateToProps = state => ({
- licenses: getAllLicenseKeys(state)
+ licenses: getSettingsAppAllLicenseKeys(state)
});
export default connect(