mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: bug fix
This commit is contained in:
1 parent
177dcd6b80
commit
e9d1988cba
5 files changed
+22
-21
No files matched your search
@@ -65,7 +65,7 @@ const mapDispatchToProps = (dispatch) => ({
|
||||
});
|
||||
},
|
||||
handleClickRefresh() {
|
||||
this.loadSubmissions();
|
||||
if (this.props.recordsVisible) this.loadSubmissions();
|
||||
},
|
||||
});
|
||||
|
||||
@@ -75,7 +75,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(class ScratchpadTool
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
this.props.loadSubmissions();
|
||||
if (this.props.recordsVisible) this.props.loadSubmissions();
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in new issue
Block a user