Skip to content

Commit

Permalink
more lax disableing of publish button
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Aug 19, 2024
1 parent 957f4b4 commit 4e11bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend_celery/webapp/templates/variant/variant.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<li>
{% set mrcc = variant.get_recent_consensus_classification() %}
<button id="publish_button" type="button" class="dropdown-item" data-href="{{url_for('upload.publish', variant_ids = variant.id, next = url_for('variant.display', variant_id = variant.id))}}"
data-bs-toggle="tooltip" title="Publish this variant and selected data to external databases." {% if mrcc is none or (not mrcc.needs_heredicare_upload and not mrcc.needs_clinvar_upload) %}disabled="disabled"{% endif %}>
data-bs-toggle="tooltip" title="Publish this variant and selected data to external databases." {% if mrcc is none %}disabled="disabled"{% endif %}>
Publish
</button>
</li>
Expand Down

0 comments on commit 4e11bf6

Please sign in to comment.