Skip to content

Commit 6186768

Browse files
author
minjk-bl
committed
Apps > Subset fix - remove display variable on applying
1 parent c34aa16 commit 6186768

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/common/vpSubsetEditor.js

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

2281-
code.appendLine();
22822281
// display
2283-
if (allocation && this.state.allocateTo != '') {
2284-
code.append(this.state.allocateTo);
2285-
} else {
2286-
code.append(this.state.pandasObject);
2282+
if (this.useCell) {
2283+
code.appendLine();
2284+
if (allocation && this.state.allocateTo != '') {
2285+
code.append(this.state.allocateTo);
2286+
} else {
2287+
code.append(this.state.pandasObject);
2288+
}
22872289
}
22882290
return code.toString();
22892291
}

0 commit comments

Comments
 (0)