We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 467c78d + 55dbd58 commit 3510485Copy full SHA for 3510485
src/api/configuration/storage/ConnectionStorage.ts
@@ -1,5 +1,5 @@
1
import { BaseStorage } from "./BaseStorage";
2
-import { PathContent, DeploymentPath, DebugCommands } from "./CodeForIStorage";
+import { DebugCommands, DeploymentPath, PathContent } from "./CodeForIStorage";
3
4
const PREVIOUS_CUR_LIBS_KEY = `prevCurLibs`;
5
const LAST_PROFILE_KEY = `currentProfile`;
@@ -34,7 +34,7 @@ export class ConnectionStorage {
34
35
setConnectionName(connectionName: string) {
36
this.connectionName = connectionName;
37
- this.internalStorage.setUniqueKeyPrefix(`settings-${connectionName}`);
+ this.internalStorage.setUniqueKeyPrefix(connectionName ? `settings-${connectionName}` : '');
38
}
39
40
getSourceList() {
0 commit comments