fix: keep old usage data visible during refresh to prevent pop-in
This commit is contained in:
3
index.ts
3
index.ts
@@ -175,9 +175,6 @@ export default function piStatusbarExtension(pi: ExtensionAPI) {
|
|||||||
inFlight?.abort();
|
inFlight?.abort();
|
||||||
const controller = new AbortController();
|
const controller = new AbortController();
|
||||||
inFlight = controller;
|
inFlight = controller;
|
||||||
statusbarState.report = undefined;
|
|
||||||
statusbarState.error = undefined;
|
|
||||||
rerender(ctx);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let activeCredential = credential;
|
let activeCredential = credential;
|
||||||
|
|||||||
Reference in New Issue
Block a user