show fe on workspace change

pull/5370/head
lianahus 4 months ago
parent cab2d75410
commit 495ca50ed8
  1. 2
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx

@ -129,6 +129,8 @@ function HomeTabFile({ plugin }: HomeTabFileProps) {
const handleSwichToRecentWorkspace = async (e, workspaceName) => { const handleSwichToRecentWorkspace = async (e, workspaceName) => {
e.preventDefault() e.preventDefault()
plugin.call('sidePanel', 'showContent', 'filePanel')
plugin.verticalIcons.select('filePanel')
_paq.push(['trackEvent', 'hometab', 'filesSection', 'loadRecentWorkspace']) _paq.push(['trackEvent', 'hometab', 'filesSection', 'loadRecentWorkspace'])
await plugin.call('filePanel', 'switchToWorkspace', { name: workspaceName, isLocalhost: false }) await plugin.call('filePanel', 'switchToWorkspace', { name: workspaceName, isLocalhost: false })
} }

Loading…
Cancel
Save