Преглед изворни кода

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);

Loading…
Откажи
Сачувај