File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1755,7 +1755,11 @@ define([
1755
1755
var code = this . state . steps . join ( '\n' ) ;
1756
1756
var returnVariable = $ ( this . wrapSelector ( '#vp_feReturn' ) ) . val ( ) ;
1757
1757
if ( returnVariable != '' ) {
1758
- code = code . replaceAll ( '_vp' , returnVariable ) ;
1758
+ code = code . replaceAll ( this . state . tempObj , returnVariable ) ;
1759
+
1760
+ code += '\n' + returnVariable ;
1761
+ } else {
1762
+ code += '\n' + this . state . tempObj ;
1759
1763
}
1760
1764
return code ;
1761
1765
}
Original file line number Diff line number Diff line change @@ -2278,6 +2278,13 @@ define([
2278
2278
this . setPreview ( code . toString ( ) ) ;
2279
2279
}
2280
2280
2281
+ code . appendLine ( ) ;
2282
+ // display
2283
+ if ( allocation && this . state . allocateTo != '' ) {
2284
+ code . append ( this . state . allocateTo ) ;
2285
+ } else {
2286
+ code . append ( this . state . pandasObject ) ;
2287
+ }
2281
2288
return code . toString ( ) ;
2282
2289
}
2283
2290
You can’t perform that action at this time.
0 commit comments