소스 검색

Fixes missing pending notification

main
Eric Amodio 1 년 전
부모
커밋
58a0db76f9
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -0
      src/plus/webviews/graph/graphWebview.ts
  2. +2
    -2
      src/plus/webviews/graph/protocol.ts

+ 1
- 0
src/plus/webviews/graph/graphWebview.ts 파일 보기

@ -1339,6 +1339,7 @@ export class GraphWebview extends WebviewBase {
[DidChangeSubscriptionNotificationType, this.notifyDidChangeSubscription],
[DidChangeWorkingTreeNotificationType, this.notifyDidChangeWorkingTree],
[DidChangeWindowFocusNotificationType, this.notifyDidChangeWindowFocus],
[DidFetchNotificationType, this.notifyDidFetch],
]);
private addPendingIpcNotification(type: IpcNotificationType<any>, msg?: IpcMessage) {

+ 2
- 2
src/plus/webviews/graph/protocol.ts 파일 보기

@ -270,7 +270,7 @@ export const UpdateSelectionCommandType = new IpcCommandType
export interface DidChangeParams {
state: State;
}
export const DidChangeNotificationType = new IpcNotificationType<DidChangeParams>('graph/didChange');
export const DidChangeNotificationType = new IpcNotificationType<DidChangeParams>('graph/didChange', true);
export interface DidChangeGraphConfigurationParams {
config: GraphComponentConfig;
@ -381,4 +381,4 @@ export const DidSearchNotificationType = new IpcNotificationType
export interface DidFetchParams {
lastFetched: Date;
}
export const DidFetchNotificationType = new IpcNotificationType<DidFetchParams>('graph/didFetch');
export const DidFetchNotificationType = new IpcNotificationType<DidFetchParams>('graph/didFetch', true);

불러오는 중...
취소
저장