Skip to content
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

Merged
merged 1 commit into from
Jun 16, 2016
Merged

Conversation

akurinnoy
Copy link
Contributor

Signed-off-by: Oleksii Kurinnyi okurinnyi@codenvy.com

@@ -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) {
Copy link
Contributor

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

@akurinnoy
Copy link
Contributor Author

@benoitf @ashumilova wdyt?

if (workspace.config.projects && workspace.config.projects.length > 0) {
let projects = workspace.config.projects;
projects.forEach((project) => {
this.projectWorkspace[project.name] = {
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right

@codenvy-ci
Copy link

Build # 906 - FAILED

Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/906/ to view the results.

@codenvy-ci
Copy link

Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
@akurinnoy akurinnoy merged commit d2cb0b8 into master Jun 16, 2016
@akurinnoy akurinnoy deleted the CHE-1300 branch June 16, 2016 13:02
@codenvy-ci
Copy link

Build # 932 - FAILED

Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/932/ to view the results.

skabashnyuk pushed a commit that referenced this pull request Jan 3, 2020
CHE-1300: [dashboard] open recent project in IDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants