Procházet zdrojové kódy

Fixes missing pending notification

main
Eric Amodio před 1 rokem
rodič
revize
58a0db76f9
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  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 Zobrazit soubor

@ -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 Zobrazit soubor

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

Načítá se…
Zrušit
Uložit