Add checkbox on project-open screen to clear context

This commit is contained in:
Nick O'Leary
2022-01-12 21:05:47 +00:00
parent 3abef972a7
commit 8b43b31c64
5 changed files with 32 additions and 21 deletions

View File

@@ -122,6 +122,7 @@ module.exports = {
}
if (req.body.active) {
opts.clearContext = req.body.hasOwnProperty('clearContext')?req.body.clearContext:true
runtimeAPI.projects.setActiveProject(opts).then(function() {
listProjects(req,res);
}).catch(function(err) {