PrimaryNavigation: remove unused 'federating' field
This commit is contained in:
parent
a8a0f18b2c
commit
23b14f605b
1 changed files with 0 additions and 3 deletions
|
@ -17,7 +17,6 @@ const mapStateToProps = state => {
|
||||||
const reportsCount = state.getIn(['admin', 'openReports']).count();
|
const reportsCount = state.getIn(['admin', 'openReports']).count();
|
||||||
const approvalCount = state.getIn(['admin', 'awaitingApproval']).count();
|
const approvalCount = state.getIn(['admin', 'awaitingApproval']).count();
|
||||||
const instance = state.get('instance');
|
const instance = state.get('instance');
|
||||||
const features = getFeatures(instance);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
account: state.getIn(['accounts', me]),
|
account: state.getIn(['accounts', me]),
|
||||||
|
@ -27,7 +26,6 @@ const mapStateToProps = state => {
|
||||||
dashboardCount: reportsCount + approvalCount,
|
dashboardCount: reportsCount + approvalCount,
|
||||||
features: getFeatures(instance),
|
features: getFeatures(instance),
|
||||||
siteTitle: state.getIn(['instance', 'title']),
|
siteTitle: state.getIn(['instance', 'title']),
|
||||||
federating: features.federating,
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -47,7 +45,6 @@ class PrimaryNavigation extends React.PureComponent {
|
||||||
chatsCount: PropTypes.number,
|
chatsCount: PropTypes.number,
|
||||||
features: PropTypes.object.isRequired,
|
features: PropTypes.object.isRequired,
|
||||||
siteTitle: PropTypes.string,
|
siteTitle: PropTypes.string,
|
||||||
federating: PropTypes.bool,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|
Loading…
Reference in a new issue