Parcourir la source

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

main
Ramin Tadayon il y a 1 an
Parent
révision
213ca034dc
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 79D60DDE3DFB95F5
2 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. +0
    -5
      package.json
  2. +5
    -0
      src/views/nodes/draftNode.ts

+ 0
- 5
package.json Voir le fichier

@ -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 Voir le fichier

@ -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;
}
}

Chargement…
Annuler
Enregistrer