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-768: add ability to delete multiple workspaces from workspace list #956

Merged
merged 1 commit into from
Apr 5, 2016

Conversation

akurinnoy
Copy link
Contributor

@akurinnoy akurinnoy commented Apr 1, 2016

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

@akurinnoy
Copy link
Contributor Author

screenshot
@ashumilova @benoitf wdyt?

/**
* Delete all selected workspaces
*/
deleteSelectedWorkspaces() {
Copy link
Contributor

Choose a reason for hiding this comment

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

is that code could be simplified by subcalls ? looks like we have a lot nested blocks

Copy link
Contributor

Choose a reason for hiding this comment

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

ok

.then(() => {
return this.cheWorkspace.deleteWorkspaceConfig(workspaceId);
})
.then(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

this then seems to belong to deleteWorkspaceConfig

@ashumilova
Copy link
Contributor

+1

Signed-off-by: Oleksii Kurinnyi <okurinnyi@codenvy.com>
@akurinnoy akurinnoy merged commit 5f0cbe7 into master Apr 5, 2016
@akurinnoy akurinnoy deleted the CHE-768 branch April 5, 2016 07:19
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.

3 participants