Skip to content

Commit

Permalink
dont apply alias revisions to simple mps
Browse files Browse the repository at this point in the history
  • Loading branch information
acoffman committed Aug 28, 2023
1 parent bcb0376 commit e8ea5c3
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions server/app/models/actions/suggest_molecular_profile_revision.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
class Actions::SuggestMolecularProfileRevision < Actions::SuggestRevisionSet
def editable_fields
[
:description,
:source_ids,
:molecular_profile_alias_ids,
]
if existing_obj.is_complex?
[
:description,
:source_ids,
:molecular_profile_alias_ids,
]
else
[
:description,
:source_ids,
]
end
end
end

0 comments on commit e8ea5c3

Please sign in to comment.