X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4dbaf8c355f3743bd42ff5b917eda57d3e90abf8..d694a717acb2e577afa396aea140e5284b7f763d:/apps/workbench/app/controllers/projects_controller.rb diff --git a/apps/workbench/app/controllers/projects_controller.rb b/apps/workbench/app/controllers/projects_controller.rb index dbb087b9bb..2cd668a28d 100644 --- a/apps/workbench/app/controllers/projects_controller.rb +++ b/apps/workbench/app/controllers/projects_controller.rb @@ -151,8 +151,8 @@ class ProjectsController < ApplicationController if item.class == Collection # Use delete API on collections - @removed_uuids << item.uuid item.destroy + @removed_uuids << item.uuid elsif item.owner_uuid == @object.uuid # Object is owned by this project. Remove it from the project by # changing owner to the current user.