Commit 16a2b207 by Torkel Ödegaard

fix: DataPanel isFirstLoad state fix

parent 8be4490e
......@@ -103,10 +103,11 @@ export class DataPanel extends Component<Props, State> {
this.setState({
loading: LoadingState.Done,
response: resp,
isFirstLoad: false,
});
} catch (err) {
console.log('Loading error', err);
this.setState({ loading: LoadingState.Error });
this.setState({ loading: LoadingState.Error, isFirstLoad: false });
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment