Merge pull request #58731 from oneslash/new_branch_if_no_other_found

always show create a branch button
This commit is contained in:
João Moreno
2018-09-19 10:28:17 +02:00
committed by GitHub
3 changed files with 12 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ export class ExtHostQuickOpen implements ExtHostQuickOpenShape {
let description: string;
let detail: string;
let picked: boolean;
let alwaysShow: boolean;
if (typeof item === 'string') {
label = item;
@@ -77,13 +78,15 @@ export class ExtHostQuickOpen implements ExtHostQuickOpenShape {
description = item.description;
detail = item.detail;
picked = item.picked;
alwaysShow = item.shouldAlwaysShow;
}
pickItems.push({
label,
description,
handle,
detail,
picked
picked,
alwaysShow
});
}