Fix #57077 - remember replace state correctly

This commit is contained in:
Rob Lourens
2018-08-23 14:41:52 -07:00
parent 80fca4c016
commit 1eeb5b9377
@@ -404,7 +404,7 @@ export class SearchView extends Viewlet implements IViewlet, IPanel {
if (!isReplaceShown) {
this.storageService.store(SearchView.SHOW_REPLACE_STORAGE_KEY, false, StorageScope.WORKSPACE);
} else {
this.storageService.remove(SearchView.SHOW_REPLACE_STORAGE_KEY);
this.storageService.remove(SearchView.SHOW_REPLACE_STORAGE_KEY, StorageScope.WORKSPACE);
}
}