We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abe5b3c commit 4db3cd6Copy full SHA for 4db3cd6
1 file changed
extensions/ql-vscode/src/databases/db-manager.ts
@@ -80,10 +80,7 @@ export class DbManager {
80
itemExpanded,
81
);
82
83
- await this.app.workspaceState.update(
84
- DbManager.DB_EXPANDED_STATE_KEY,
85
- newExpandedItems,
86
- );
+ await this.setExpandedItems(newExpandedItems);
87
}
88
89
public async addNewRemoteRepo(
@@ -139,4 +136,11 @@ export class DbManager {
139
136
140
137
return items || [];
141
138
+
+ private async setExpandedItems(items: ExpandedDbItem[]): Promise<void> {
+ await this.app.workspaceState.update(
142
+ DbManager.DB_EXPANDED_STATE_KEY,
143
+ items,
144
+ );
145
+ }
146
0 commit comments