mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
Stop trying to get the users config when there is no user (#411)
This commit is contained in:
parent
97de2bc5aa
commit
9c476a39ff
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export class App extends Component {
|
|||
componentWillReceiveProps (nextProps) {
|
||||
const { dispatch, user } = nextProps;
|
||||
|
||||
if (this.props.user !== user) {
|
||||
if (user && this.props.user !== user) {
|
||||
dispatch(getConfig());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue