Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
Bug/SK-442 | Serving a model when limit is reached is possible
Browse files Browse the repository at this point in the history
Studio PR (#157)
  • Loading branch information
niklastheman authored Apr 25, 2023
1 parent 0fd2451 commit 059b0a5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions templates/models_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,8 @@ <h3>Models</h3>
</a>
{% endif %}

<a class="dropdown-item default"
href="{% url 'apps:serve' request.user project.slug model.object_type.all.first.app_slug model.version %}">
<i class="bi bi-check2-circle me-1"></i>
Serve
</a>
{% include 'common/serve_model_link.html' %}

<a class="dropdown-item bg-danger text-white confirm-delete default"
href="{% url 'models:delete' request.user project.slug model.pk %}">
<i class="bi bi-trash me-1"></i>
Expand Down

0 comments on commit 059b0a5

Please sign in to comment.