Skip to content

Commit

Permalink
fix: installed list is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Feb 10, 2023
1 parent 4303743 commit 3ff219e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ export class ExtensionService {
return this.installedList.includes(name);
}
public async requestList(type = 'list', queryParams = {}) {
this.requestPending?.unsubscribe();
if (type === 'list') {
this.requestPending?.unsubscribe();
}
return new Promise((resolve, reject) => {
const params = JSON.parse(JSON.stringify({ locale: this.language.systemLanguage, ...queryParams }));

Expand Down

0 comments on commit 3ff219e

Please sign in to comment.