PDF from RunnerDetail

ref #62
This commit is contained in:
2021-02-20 16:17:20 +01:00
parent ff15308c03
commit 3b18be5874
3 changed files with 36 additions and 5 deletions

View File

@@ -239,9 +239,7 @@
.then((resp) => {
current_runners = current_runners.filter((obj) => obj.id !== runner.id);
})
.catch((err) => {
// error deleting user
});
.catch((err) => {});
}}
tabindex="0"
class="ml-4 text-red-600 hover:text-red-900 cursor-pointer">{$_('confirm-delete')}</button>
@@ -251,7 +249,7 @@
class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<a
href="./{runner.id}"
class="text-indigo-600 hover:text-indigo-900">{$_('edit')}</a>
class="text-indigo-600 hover:text-indigo-900">{$_('details')}</a>
{#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:DELETE')}
<button
on:click={() => {