We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c45d8 commit a10d1f0Copy full SHA for a10d1f0
src/dashboard/Data/Config/Config.react.js
@@ -35,6 +35,7 @@ class Config extends TableView {
35
modalType: 'String',
36
modalValue: '',
37
modalMasterKeyOnly: false,
38
+ loading: false,
39
};
40
}
41
@@ -53,7 +54,10 @@ class Config extends TableView {
53
54
55
56
loadData() {
- this.props.config.dispatch(ActionTypes.FETCH);
57
+ this.setState({ loading: true });
58
+ this.props.config.dispatch(ActionTypes.FETCH).finally(() => {
59
+ this.setState({ loading: false });
60
+ });
61
62
63
renderToolbar() {
0 commit comments