|
|
@ -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 }) |
|
|
|
} |
|
|
|
} |
|
|
|