Always show a button to launch gradation, even in case of error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-03-07 17:36:04 +01:00
parent 61dde4e7e3
commit 9032d53ae3

View File

@ -162,6 +162,15 @@
>
<i class="bi bi-play"></i>
</button>
{:catch err}
<button
class="btn btn-sm mr-1 btn-outline-dark"
class:disabled={!show_dl_btn[user.id]}
title={JSON.stringify(err)}
on:click={() => { repo.runGradation(); }}
>
<i class="bi bi-play"></i>
</button>
{/await}
<a
href="/api/users/{user.id}/works/{w.id}/repositories/{repo.id}/traces"