Skip to content

Commit 4846a28

Browse files
committed
Reset station state when data reload
1 parent 3b5d6a3 commit 4846a28

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/actions/station.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export function getData(dispatch, getState, action, args) {
150150

151151
export function getLatitudeAvgValues() {
152152
return (dispatch, getState) => {
153+
dispatch(resetStation());
153154
dispatch(setLoading(true));
154155
getData(dispatch, getState, 'getLatitudeAvgValues');
155156
};

0 commit comments

Comments
 (0)