File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export const mutations: MutationTree<ConfigState> = {
3636 } ,
3737
3838 addRadiometerResult ( state , payload ) {
39- if ( payload . inExperiment ) {
39+ // if (payload.inExperiment){
4040
4141 let currTab = payload . currTab
4242 let currIter = payload . currIter
@@ -50,12 +50,13 @@ export const mutations: MutationTree<ConfigState> = {
5050 [ `V${ currIter } ` ] : payload . V ,
5151 [ `A${ currIter } ` ] : payload . A ,
5252 [ `a${ currIter } ` ] : payload . a ,
53- [ `date${ currIter } ` ] : new Date ( ) . toLocaleString ( ) ,
53+ // [`date${currIter}`]: payload.TS.toLocaleString(),
54+ [ `date${ currIter } ` ] : new Date ( payload . TS * 1000 ) . toLocaleString ( ) ,
5455 } ;
5556
5657 state . uiSettings . results [ `${ currTab } ` ] . push ( entry )
57-
58- }
58+ window . console . error ( 'ui.push:' , state . uiSettings . results [ ` ${ currTab } ` ] )
59+ // }
5960 } ,
6061
6162 clearResults ( state ) {
You can’t perform that action at this time.
0 commit comments