mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Merge pull request #4538 from aignatov-bio/ai-sci-7345-fix-copy-experiment-only-to-active-projects
Fix copy experiment only to active projects [SCI-7345]
This commit is contained in:
commit
0c81907ece
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class ExperimentsController < ApplicationController
|
|||
|
||||
# GET: clone_modal_experiment_path(id)
|
||||
def clone_modal
|
||||
@projects = @experiment.project.team.projects
|
||||
@projects = @experiment.project.team.projects.active
|
||||
.with_user_permission(current_user, ProjectPermissions::EXPERIMENTS_CREATE)
|
||||
respond_to do |format|
|
||||
format.json do
|
||||
|
|
Loading…
Reference in a new issue