Ivan - Fix some issues related to no user system [skip ci]
This commit is contained in:
parent
c18142f2ba
commit
09c6453d46
|
@ -42,12 +42,12 @@ class DashboardArticlePage extends React.Component {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={this.getClass()}>
|
<div className={this.getClass()}>
|
||||||
<Widget>
|
<Wrapper>
|
||||||
<div className="dashboard-article-page__breadcrumb">
|
<div className="dashboard-article-page__breadcrumb">
|
||||||
<BreadCrumb items={this.getBreadCrumbItems()}/>
|
<BreadCrumb items={this.getBreadCrumbItems()}/>
|
||||||
</div>
|
</div>
|
||||||
{(this.props.loading) ? <Loading /> : this.renderContent()}
|
{(this.props.loading) ? <Loading /> : this.renderContent()}
|
||||||
</Widget>
|
</Wrapper>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ class MainLayoutHeader extends React.Component {
|
||||||
result = (
|
result = (
|
||||||
<div className="main-layout-header__login-links">
|
<div className="main-layout-header__login-links">
|
||||||
<Button type="clean" route={{to:'/'}}>{i18n('LOG_IN')}</Button>
|
<Button type="clean" route={{to:'/'}}>{i18n('LOG_IN')}</Button>
|
||||||
{this.props.config === true ? <Button type="clean" route={{to:'/signup'}}>{i18n('SIGN_UP')}</Button> : null}
|
{(this.props.config['registration'] === true) ? <Button type="clean" route={{to:'/signup'}}>{i18n('SIGN_UP')}</Button> : null}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,7 @@ module.exports = [
|
||||||
'smtp-port': '7070',
|
'smtp-port': '7070',
|
||||||
'smtp-user': 'Wesa',
|
'smtp-user': 'Wesa',
|
||||||
'maintenance-mode': false,
|
'maintenance-mode': false,
|
||||||
|
'user-system-enabled': true,
|
||||||
'allow-attachments': true,
|
'allow-attachments': true,
|
||||||
'registration': true,
|
'registration': true,
|
||||||
'max-size': 500,
|
'max-size': 500,
|
||||||
|
@ -41,7 +42,8 @@ module.exports = [
|
||||||
'layout': 'Boxed',
|
'layout': 'Boxed',
|
||||||
'reCaptchaKey': '6LfM5CYTAAAAAGLz6ctpf-hchX2_l0Ge-Bn-n8wS',
|
'reCaptchaKey': '6LfM5CYTAAAAAGLz6ctpf-hchX2_l0Ge-Bn-n8wS',
|
||||||
'maintenance-mode': false,
|
'maintenance-mode': false,
|
||||||
'user-system-enabled': false,
|
'user-system-enabled': true,
|
||||||
|
'registration': true,
|
||||||
'departments': [
|
'departments': [
|
||||||
{id: 1, name: 'Sales Support', owners: 2},
|
{id: 1, name: 'Sales Support', owners: 2},
|
||||||
{id: 2, name: 'Technical Issues', owners: 5},
|
{id: 2, name: 'Technical Issues', owners: 5},
|
||||||
|
|
Loading…
Reference in New Issue