File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,11 @@ const app = new Vue({
7171 ipc . on ( 'gtt-config' , ( event , config ) => this . setConfig ( config ) ) ;
7272 ipc . on ( 'gtt-log' , ( event , data ) => {
7373 this . loadingLog = false ;
74- data . frames = _ . map ( data . frames , frames => _ . map ( frames , frame => Frame . copy ( frame ) ) ) ;
74+ let i ;
75+ for ( i in data . frames ) {
76+ if ( ! data . frames . hasOwnProperty ( i ) ) continue ;
77+ data . frames [ i ] = _ . map ( data . frames [ i ] , frame => Frame . copy ( frame ) ) ;
78+ }
7579 this . log = data ;
7680 } ) ;
7781 ipc . on ( 'gtt-status' , ( event , status ) => {
Original file line number Diff line number Diff line change @@ -29930,11 +29930,13 @@ var app = new Vue({
2993029930 });
2993129931 ipc.on('gtt-log', function (event, data) {
2993229932 _this2.loadingLog = false;
29933- data.frames = _.map(data.frames, function (frames) {
29934- return _.map(frames, function (frame) {
29933+ var i = void 0;
29934+ for (i in data.frames) {
29935+ if (!data.frames.hasOwnProperty(i)) continue;
29936+ data.frames[i] = _.map(data.frames[i], function (frame) {
2993529937 return Frame.copy(frame);
2993629938 });
29937- });
29939+ }
2993829940 _this2.log = data;
2993929941 });
2994029942 ipc.on('gtt-status', function (event, status) {
@@ -30863,6 +30865,7 @@ class baseFrame {
3086330865 frame._stop = json.stop;
3086430866 frame.notes = json.notes;
3086530867 frame.timezone = json.timezone;
30868+ frame.modified = json.modified;
3086630869 frame.validate();
3086730870
3086830871 return frame;
@@ -30895,7 +30898,8 @@ class baseFrame {
3089530898 notes: frame.notes,
3089630899 start: frame._start,
3089730900 stop: frame._stop,
30898- timezone: frame.timezone
30901+ timezone: frame.timezone,
30902+ modified: frame.modified
3089930903 });
3090030904 }
3090130905
You can’t perform that action at this time.
0 commit comments