Browse Source

Updates rebase editor context ref

main
Ramin Test 1 year ago
parent
commit
3e4bb39e54
No known key found for this signature in database GPG Key ID: 79D60DDE3DFB95F5
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/eventBus.ts
  2. +1
    -1
      src/webviews/commitDetails/commitDetailsWebview.ts

+ 1
- 1
src/eventBus.ts View File

@ -1,7 +1,7 @@
import type { Disposable, Uri } from 'vscode';
import { EventEmitter } from 'vscode';
import type { ViewsConfigKeys } from './config';
import type { WebviewIds, WebviewViewIds } from './constants';
import type { CustomEditorIds, WebviewIds, WebviewViewIds } from './constants';
import type { GitCaches } from './git/gitProvider';
import type { GitCommit } from './git/models/commit';
import type { GitRevisionReference } from './git/models/reference';

+ 1
- 1
src/webviews/commitDetails/commitDetailsWebview.ts View File

@ -893,7 +893,7 @@ export class CommitDetailsWebviewProvider implements WebviewProvider
}
private getShowOptions(params: FileActionParams): TextDocumentShowOptions | undefined {
return getContext('gitlens:webview:graph:active') || getContext('gitlens:webview:rebaseEditor:active')
return getContext('gitlens:webview:graph:active') || getContext('gitlens:webview:rebase:active')
? { ...params.showOptions, viewColumn: ViewColumn.Beside }
: params.showOptions;
}

Loading…
Cancel
Save