Skip to content

Commit

Permalink
Revert "workspace storage should store per location (fixes #904)"
Browse files Browse the repository at this point in the history
This reverts commit e7bb98b.
  • Loading branch information
svenefftinge committed Dec 5, 2017
1 parent b4dd8fe commit 49a86f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/workspace/src/browser/workspace-storage-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ export class WorkspaceStorageService implements StorageService {
constructor( @inject(WorkspaceService) protected workspaceService: WorkspaceService,
@inject(ILogger) protected logger: ILogger) {
this.initialized = this.workspaceService.root.then(stat => {
const loc = window.location.toString();
if (stat) {
this.prefix = loc + stat.uri;
this.prefix = stat.uri;
} else {
this.prefix = loc + '_global_';
this.prefix = '_global_';
}
});
this.storageService = new LocalStorageService(this.logger);
Expand Down

0 comments on commit 49a86f3

Please sign in to comment.