Skip to content

Commit 1fe56f7

Browse files
authored
Merge pull request #109 from visualpython/release
Release v1.2.2 (Hotfix)
2 parents 76ff295 + 1c6d073 commit 1fe56f7

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

src/api_block/blockContainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@ define([
26492649
this.hideOptionPreviewBox();
26502650
$(VP_ID_PREFIX + VP_APIBLOCK_BOARD_OPTION_PREVIEW_BUTTON).removeClass('enabled');
26512651

2652-
this.setNavigator(BLOCK_CODELINE_TYPE.NONE, 'Visual Python 1.2.1');
2652+
this.setNavigator(BLOCK_CODELINE_TYPE.NONE, 'Visual Python 1.2.2');
26532653
this.setFocusedPageType(FOCUSED_PAGE_TYPE.BOARD);
26542654
$('.vp-apiblock-option-tab-none').css(STR_DISPLAY, STR_BLOCK);
26552655
}

src/api_block/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
id='vp_apiblock_option_page'>
121121
<div class="vp-apiblock-option-navigator">
122122
<div class="vp-apiblock-option-navigator-label">
123-
<span class="vp-orange-text">Visual Python 1.2.1</span>
123+
<span class="vp-orange-text">Visual Python 1.2.2</span>
124124
</div>
125125
<div class="vp-apiblock-option-new-to-save" title="something modified...">
126126

src/common/constant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define ([
4848
* toolbar btn properties
4949
*/
5050
const TOOLBAR_BTN_INFO = {
51-
HELP: "Visual Python 1.2.1"
51+
HELP: "Visual Python 1.2.2"
5252
// , ICON: "fa-angellist"
5353
, ICON: "vp-main-icon"
5454
, ID: "vpBtnToggle"

src/common/vpGroupby.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,9 @@ define([
437437
page.appendFormatLine('<option value="{0}">{1}</option>', '', 'Select method type');
438438
page.appendFormatLine('<option value="{0}">{1}</option>', 'typing', 'Typing');
439439
this.methodList.forEach(method => {
440+
if (method.value == '') {
441+
return;
442+
}
440443
page.appendFormatLine('<option value="{0}">{1}</option>', method.value, method.label);
441444
});
442445
page.appendLine('</select>');
@@ -1196,7 +1199,7 @@ define([
11961199
}
11971200
}
11981201

1199-
if (method != '') {
1202+
if (method != '' || advanced) {
12001203
// when using as_index option with Grouper, use .reset_index()
12011204
if (useGrouper && resetIndex) {
12021205
methodStr.append('.reset_index()');

0 commit comments

Comments
 (0)