Przeglądaj źródła

Fixes incorrect id for rebase editor

main
Eric Amodio 1 rok temu
rodzic
commit
835d1f6d86
3 zmienionych plików z 3 dodań i 3 usunięć
  1. +1
    -1
      src/constants.ts
  2. +1
    -1
      src/eventBus.ts
  3. +1
    -1
      src/webviews/rebase/rebaseEditor.ts

+ 1
- 1
src/constants.ts Wyświetl plik

@ -300,7 +300,7 @@ export const enum Commands {
Deprecated_ShowFileHistoryInView = 'gitlens.showFileHistoryInView',
}
export type CustomEditorIds = 'rebaseEditor';
export type CustomEditorIds = 'rebase';
export type WebviewIds = 'graph' | 'settings' | 'timeline' | 'welcome' | 'focus';
export type WebviewViewIds = 'commitDetails' | 'graph' | 'home' | 'timeline';

+ 1
- 1
src/eventBus.ts Wyświetl plik

@ -40,7 +40,7 @@ interface EventBusEvent {
}
export type EventBusSource =
| 'gitlens.rebase'
| `gitlens.${CustomEditorIds}`
| `gitlens.${WebviewIds}`
| `gitlens.views.${WebviewViewIds}`
| `gitlens.views.${ViewsConfigKeys}`;

+ 1
- 1
src/webviews/rebase/rebaseEditor.ts Wyświetl plik

@ -133,7 +133,7 @@ export class RebaseEditorProvider implements CustomTextEditorProvider, Disposabl
}
private get contextKeyPrefix() {
return `gitlens:webview:rebaseEditor` as const;
return `gitlens:webview:rebase` as const;
}
get enabled(): boolean {

Ładowanie…
Anuluj
Zapisz