aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/licenses/LicenseRowContainer.js4
1 files changed, 2 insertions, 2 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(