Sfoglia il codice sorgente

Opens cloud patch on row select (hides icon for now)

main
Ramin Tadayon 1 anno fa
parent
commit
213ca034dc
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 79D60DDE3DFB95F5
2 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. +0
    -5
      package.json
  2. +5
    -0
      src/views/nodes/draftNode.ts

+ 0
- 5
package.json Vedi File

@ -12000,11 +12000,6 @@
{
"command": "gitlens.views.drafts.open",
"when": "viewItem =~ /gitlens:draft\\b/ && gitlens:plus",
"group": "inline@1"
},
{
"command": "gitlens.views.drafts.open",
"when": "viewItem =~ /gitlens:draft\\b/ && gitlens:plus",
"group": "1_gitlens_actions@1"
},
{

+ 5
- 0
src/views/nodes/draftNode.ts Vedi File

@ -55,6 +55,11 @@ export class DraftNode extends ViewNode<'draft', DraftsView> {
}`,
);
item.description = fromNow(this.draft.updatedAt);
item.command = {
title: 'Show Patch',
command: this.view.getQualifiedCommand('open'),
arguments: [this],
};
return item;
}
}

Caricamento…
Annulla
Salva