From 35b31dd0872ed81da7f004138e40b68a4b7e6b51 Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Sun, 26 Sep 2021 11:14:23 +0530 Subject: refactor: remove references to 'electron/remote' - part deux (#1987) --- src/webview/lib/RecipeWebview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webview/lib/RecipeWebview.js') diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js index 9c195a9f0..b2a9f3ee8 100644 --- a/src/webview/lib/RecipeWebview.js +++ b/src/webview/lib/RecipeWebview.js @@ -126,8 +126,8 @@ class RecipeWebview { } } - clearStorageData(storageLocations) { - this.sessionHandler.clearStorageData(storageLocations); + clearStorageData(serviceId, targetsToClear) { + ipcRenderer.send('clear-storage-data', { serviceId, targetsToClear }); } releaseServiceWorkers() { -- cgit v1.2.3-54-g00ecf