From 244446f8393ad9231f6ed5c1d6ffe65c50906340 Mon Sep 17 00:00:00 2001 From: Rudy Flores <68666202+rudyflores@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:06:44 -0400 Subject: [PATCH] Fix edit attributes view for web users Signed-off-by: Rudy Flores <68666202+rudyflores@users.noreply.github.com> --- packages/zowe-explorer/webviews/edit-attributes/src/App.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/zowe-explorer/webviews/edit-attributes/src/App.tsx b/packages/zowe-explorer/webviews/edit-attributes/src/App.tsx index b15dcfd43e..89a8395039 100644 --- a/packages/zowe-explorer/webviews/edit-attributes/src/App.tsx +++ b/packages/zowe-explorer/webviews/edit-attributes/src/App.tsx @@ -60,11 +60,6 @@ export function App() { useEffect(() => { window.addEventListener("message", (event) => { - // Prevent users from sending data into webview outside of extension/webview context - if (!event.origin?.startsWith("vscode-webview://")) { - return; - } - if (!event.data) { return; }