1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

simplify timestamp after adding result

This commit is contained in:
irismarie 2021-01-20 14:10:34 +01:00
parent f8df647196
commit 95f8161c75

View file

@ -69,6 +69,10 @@ class ResultStore extends ArrayStore {
this.simplifyTimestamps(action.data);
return super.reduce(state, action);
case 'results/added':
this.simplifyTimestamps([action.data]);
return super.reduce(state, action);
case 'resultfiles/start-download':
ResultsDataManager.download(action)
return state