浏览代码

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 {

正在加载...
取消
保存