Ver a proveniência

Removes extra refresh call

main
Eric Amodio há 2 anos
ascendente
cometimento
0e568e9b30
1 ficheiros alterados com 1 adições e 2 eliminações
  1. +1
    -2
      src/views/nodes/commitNode.ts

+ 1
- 2
src/views/nodes/commitNode.ts Ver ficheiro

@ -98,6 +98,7 @@ export class CommitNode extends ViewRefNode
new PullRequestNode(this.view as ViewsWithCommits, this, pr, commit),
);
}
// Refresh this node to show a spinner while the pull request is loading
this.view.triggerNodeChange(this);
});
@ -107,8 +108,6 @@ export class CommitNode extends ViewRefNode
() => this.view.triggerNodeChange(this),
() => {},
);
queueMicrotask(() => this.view.triggerNodeChange(this));
});
}
}

Carregando…
Cancelar
Guardar