|
|
@ -220,7 +220,7 @@ export const populateWorkspace = async ( |
|
|
|
dispatch(cloneRepositorySuccess()) |
|
|
|
dispatch(cloneRepositorySuccess()) |
|
|
|
}).catch((e) => { |
|
|
|
}).catch((e) => { |
|
|
|
dispatch(cloneRepositorySuccess()) |
|
|
|
dispatch(cloneRepositorySuccess()) |
|
|
|
plugin.call('notification', 'toast', 'error adding template ' + e.message || e) |
|
|
|
plugin.call('notification', 'toast', 'error adding template ' + (e.message || e)) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, 5000) |
|
|
|
}, 5000) |
|
|
|
} else if (!isEmpty && !(isGitRepo && createCommit)) await loadWorkspacePreset(workspaceTemplateName, opts) |
|
|
|
} else if (!isEmpty && !(isGitRepo && createCommit)) await loadWorkspacePreset(workspaceTemplateName, opts) |
|
|
|