Sfoglia il codice sorgente

Switches tree file status back to icons

main
Keith Daulton 1 anno fa
parent
commit
ce4ac3a404
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/webviews/apps/commitDetails/components/gl-details-base.ts

+ 2
- 2
src/webviews/apps/commitDetails/components/gl-details-base.ts Vedi File

@ -313,12 +313,12 @@ export class GlDetailsBase extends LitElement {
level: 1,
checkable: false,
checked: false,
icon: 'file', //{ type: 'status', name: file.status },
icon: { type: 'status', name: file.status }, // 'file',
label: fileName,
description: flat === true ? filePath : undefined,
context: [file],
actions: this.getFileActions(file, options),
decorations: [{ type: 'text', label: file.status }],
// decorations: [{ type: 'text', label: file.status }],
...options,
};
}

Caricamento…
Annulla
Salva