Skip to content

Commit 1fa6000

Browse files
author
minjk-bl
committed
display variable once more at the last
1 parent 00193ef commit 1fa6000

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/common/vpFrameEditor.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,11 @@ define([
17551755
var code = this.state.steps.join('\n');
17561756
var returnVariable = $(this.wrapSelector('#vp_feReturn')).val();
17571757
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;
17591763
}
17601764
return code;
17611765
}

src/common/vpSubsetEditor.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2278,6 +2278,13 @@ define([
22782278
this.setPreview(code.toString());
22792279
}
22802280

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+
}
22812288
return code.toString();
22822289
}
22832290

0 commit comments

Comments
 (0)