Skip to content

Commit

Permalink
Fix edit attributes view for web users
Browse files Browse the repository at this point in the history
Signed-off-by: Rudy Flores <[email protected]>
  • Loading branch information
rudyflores committed Oct 6, 2023
1 parent 8b2e848 commit 244446f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/zowe-explorer/webviews/edit-attributes/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 244446f

Please sign in to comment.