File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/components/PerspectiveView Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -497,15 +497,15 @@ class P extends React.Component {
497497 const changes1 = { languages : [ [ stampMid , stampOld , { note : 'Changed before sync' } ] ] } ;
498498 const changes2 = { languages : [ [ stampMid , stampNew , { note : 'Changed after sync' } ] ] } ;
499499
500- const { data : { list_changes : isp_changes } } = await client . query ( {
500+ await client . query ( {
501501 query : queryListChanges ,
502502 variables : { host : 'isp' , id }
503- } ) ;
503+ } ) . then ( ( { data : { list_changes : ispSyncData } } ) => this . setState ( ispSyncData ) ) ;
504504
505- const { data : { list_changes : xal_changes } } = await client . query ( {
505+ await client . query ( {
506506 query : queryListChanges ,
507507 variables : { host : 'xal' , id }
508- } ) ;
508+ } ) . then ( ( { data : { list_changes : xalSyncData } } ) => this . setState ( xalSyncData ) ) ;
509509 } ;
510510
511511 render ( ) {
You can’t perform that action at this time.
0 commit comments