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 (
|
||||
<div className={this.getClass()}>
|
||||
<Widget>
|
||||
<Wrapper>
|
||||
<div className="dashboard-article-page__breadcrumb">
|
||||
<BreadCrumb items={this.getBreadCrumbItems()}/>
|
||||
</div>
|
||||
{(this.props.loading) ? <Loading /> : this.renderContent()}
|
||||
</Widget>
|
||||
</Wrapper>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ class MainLayoutHeader extends React.Component {
|
|||
result = (
|
||||
<div className="main-layout-header__login-links">
|
||||
<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>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ module.exports = [
|
|||
'smtp-port': '7070',
|
||||
'smtp-user': 'Wesa',
|
||||
'maintenance-mode': false,
|
||||
'user-system-enabled': true,
|
||||
'allow-attachments': true,
|
||||
'registration': true,
|
||||
'max-size': 500,
|
||||
|
@ -41,7 +42,8 @@ module.exports = [
|
|||
'layout': 'Boxed',
|
||||
'reCaptchaKey': '6LfM5CYTAAAAAGLz6ctpf-hchX2_l0Ge-Bn-n8wS',
|
||||
'maintenance-mode': false,
|
||||
'user-system-enabled': false,
|
||||
'user-system-enabled': true,
|
||||
'registration': true,
|
||||
'departments': [
|
||||
{id: 1, name: 'Sales Support', owners: 2},
|
||||
{id: 2, name: 'Technical Issues', owners: 5},
|
||||
|
|
Loading…
Reference in New Issue