fix clone check

pull/5370/head
filip mertens 2 years ago committed by Aniket
parent 9cfbffa110
commit fc5bf1ab68
  1. 1
      apps/remix-ide/src/app/files/dgitProvider.js
  2. 3
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -266,6 +266,7 @@ class DGitProvider extends Plugin {
await this.call('fileManager', 'refresh')
}, 1000)
}
this.emit('clone')
return result
}

@ -41,6 +41,9 @@ export const setPlugin = (filePanelPlugin, reducerDispatch) => {
plugin.on('dGitProvider', 'branch', async () => {
await checkGit()
})
plugin.on('dGitProvider', 'clone', async () => {
await checkGit()
})
plugin.on('config', 'configChanged', async () => {
await getGitConfig()
})

Loading…
Cancel
Save