Hide repository infos when corrected

This commit is contained in:
nemunaire 2023-03-06 18:24:43 +01:00
parent 6fed13ee0e
commit 562cd5b397

View File

@ -249,7 +249,9 @@
{/if}
{#if w.submission_url != "-"}
<WorkRepository class="mb-3" readonly={w.corrected || new Date(w.end_availability) <= new Date()} work={w} on:update_submission={() => refresh_submission(w)} bind:already_used={warn_already_used} />
{#if !w.corrected}
<WorkRepository class="mb-3" readonly={w.corrected || new Date(w.end_availability) <= new Date()} work={w} on:update_submission={() => refresh_submission(w)} bind:already_used={warn_already_used} />
{/if}
<div class="card mb-3">
<div class="card-body d-flex justify-content-between">
<div>