Fixed url overwrite

pull/3308/head
ioedeveloper 2 years ago committed by Aniket
parent ecd934b42d
commit b2ec4a9330
  1. 18
      libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx

@ -227,8 +227,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) {
> >
<div <div
data-id='soliditygithubaction' data-id='soliditygithubaction'
onClick={(e) => { onClick={() => {
e.stopPropagation()
props.addGithubAction() props.addGithubAction()
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSolidityTesting']) _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSolidityTesting'])
props.hideIconsMenu(!showIconsMenu) props.hideIconsMenu(!showIconsMenu)
@ -238,8 +237,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) {
hidden={ hideWorkspaceOptions } hidden={ hideWorkspaceOptions }
id='soliditygithubaction' id='soliditygithubaction'
data-id='soliditygithubaction' data-id='soliditygithubaction'
onClick={(e) => { onClick={() => {
e.stopPropagation()
props.addGithubAction() props.addGithubAction()
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSolidityTesting']) _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSolidityTesting'])
props.hideIconsMenu(!showIconsMenu) props.hideIconsMenu(!showIconsMenu)
@ -260,8 +258,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) {
> >
<div <div
data-id='typescriptsoliditygithubtestaction' data-id='typescriptsoliditygithubtestaction'
onClick={(e) => { onClick={() => {
e.stopPropagation()
props.addTsSolTestGithubAction() props.addTsSolTestGithubAction()
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addTsSolTestingAction']) _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addTsSolTestingAction'])
props.hideIconsMenu(!showIconsMenu) props.hideIconsMenu(!showIconsMenu)
@ -271,8 +268,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) {
hidden={ hideWorkspaceOptions } hidden={ hideWorkspaceOptions }
id='tssoliditygithubaction' id='tssoliditygithubaction'
data-id='tssoliditygithubaction' data-id='tssoliditygithubaction'
onClick={(e) => { onClick={() => {
e.stopPropagation()
props.addTsSolTestGithubAction() props.addTsSolTestGithubAction()
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addTsSolTestingAction']) _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addTsSolTestingAction'])
props.hideIconsMenu(!showIconsMenu) props.hideIconsMenu(!showIconsMenu)
@ -293,8 +289,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) {
> >
<div <div
data-id='slithergithubtestaction' data-id='slithergithubtestaction'
onClick={(e) => { onClick={() => {
e.stopPropagation()
props.addSlitherGithubAction() props.addSlitherGithubAction()
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSlitherAction']) _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSlitherAction'])
props.hideIconsMenu(!showIconsMenu) props.hideIconsMenu(!showIconsMenu)
@ -304,8 +299,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) {
hidden={ hideWorkspaceOptions } hidden={ hideWorkspaceOptions }
id='slithergithubaction' id='slithergithubaction'
data-id='slithergithubaction' data-id='slithergithubaction'
onClick={(e) => { onClick={() => {
e.stopPropagation()
props.addSlitherGithubAction() props.addSlitherGithubAction()
_paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSlitherAction']) _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSlitherAction'])
props.hideIconsMenu(!showIconsMenu) props.hideIconsMenu(!showIconsMenu)

Loading…
Cancel
Save