瀏覽代碼

Fixes incorrect id for rebase editor

main
Eric Amodio 1 年之前
父節點
當前提交
835d1f6d86
共有 3 個檔案被更改,包括 3 行新增3 行删除
  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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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 {

Loading…
取消
儲存