Skip to content
Snippets Groups Projects
Commit b6aaa967 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

browse/vault-ui: Ensure to leave the link column empty when a vault task failed

parent 2d7156e6
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,8 @@
if (cooking_task.status == 'done') {
dl_link = '<a class="btn btn-md btn-swh" href="' + cooking_task.fetch_url +
'"><i class="fa fa-download fa-fw" aria-hidden="true"></i>Download</a>';
} else if (cooking_task.status == 'failed') {
dl_link = '';
}
table_row += '<td class="vault-dl-link" style="width: 320px">' + dl_link + '</td>';
table_row += '</tr>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment