-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHE-1300: [dashboard] open recent project in IDE #1497
Conversation
@@ -332,7 +332,17 @@ export class CheWorkspace { | |||
} | |||
|
|||
getAllProjects() { | |||
let projects = this.lodash.pluck(this.workspaces, 'config.projects'); | |||
let projects = this.lodash.map(this.workspaces, (workspace) => { | |||
if (workspace.config.projects && workspace.config.projects.length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workspace.config.projects.length > 0
@benoitf @ashumilova wdyt? |
if (workspace.config.projects && workspace.config.projects.length > 0) { | ||
let projects = workspace.config.projects; | ||
projects.forEach((project) => { | ||
this.projectWorkspace[project.name] = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it can be unique only within one workspace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right
Build # 906 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/906/ to view the results. |
Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
Build # 932 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/932/ to view the results. |
CHE-1300: [dashboard] open recent project in IDE
Signed-off-by: Oleksii Kurinnyi okurinnyi@codenvy.com