rdesktop2
filip mertens 1 year ago
parent 57ef21ab94
commit 3b6561c488
  1. 1
      apps/remix-ide/src/app/plugins/remix-templates.ts
  2. 2
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -19,7 +19,6 @@ export class TemplatesPlugin extends Plugin {
if (!templateList.includes(template)) return
// @ts-ignore
const files = await templateWithContent[template](opts)
console.log('files for template ', files)
return files
}
// electron only method

@ -255,7 +255,6 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe
_paq.push(['trackEvent', 'workspace', 'template', template])
// @ts-ignore
const files = await templateWithContent[template](opts)
console.log('files for template ', files)
for (const file in files) {
try {
await workspaceProvider.set(file, files[file])
@ -608,7 +607,6 @@ export const getGitRepoCurrentBranch = async (workspaceName: string) => {
}
export const showAllBranches = async () => {
console.log('showAllBranches')
const isActive = await plugin.call('manager', 'isActive', 'dgit')
if (!isActive) await plugin.call('manager', 'activatePlugin', 'dgit')
plugin.call('menuicons', 'select', 'dgit')

Loading…
Cancel
Save