Browse Source

Adds checkbox single repo patches

main
Keith Daulton 1 year ago
parent
commit
9d4de01a3f
1 changed files with 1 additions and 10 deletions
  1. +1
    -10
      src/webviews/apps/plus/patchDetails/components/gl-draft-details.ts

+ 1
- 10
src/webviews/apps/plus/patchDetails/components/gl-draft-details.ts View File

@ -282,11 +282,9 @@ export class GlDraftDetails extends GlTreeBase {
isTree = layout === 'tree';
}
// checkable only for multi-repo
const isMultiRepo = patches.length > 1;
const models = patches?.map(p =>
this.draftPatchToTreeModel(p, isTree, this.state.preferences?.files?.compact, {
checkable: isMultiRepo,
checkable: true,
checked: this.selectedPatches.includes(p.id),
}),
);
@ -427,13 +425,6 @@ export class GlDraftDetails extends GlTreeBase {
>
`,
)}
<a
class="commit-action"
href="#"
aria-label="Show Patch Actions"
title="Show Patch Actions"
><code-icon icon="kebab-vertical"></code-icon
></a>
</div>
</div>
${when(

Loading…
Cancel
Save