feat: Add queue reset button

This commit is contained in:
Andras Bacsai
2022-09-11 11:51:43 +00:00
parent 0a68a48fc5
commit 143cd46a81
6 changed files with 346 additions and 279 deletions

View File

@@ -32,7 +32,7 @@
import Usage from '$lib/components/Usage.svelte';
import { t } from '$lib/translations';
import { asyncSleep } from '$lib/common';
import { appSession, search } from '$lib/store';
import { appSession, search, addToast} from '$lib/store';
import ApplicationsIcons from '$lib/components/svg/applications/ApplicationIcons.svelte';
import DatabaseIcons from '$lib/components/svg/databases/DatabaseIcons.svelte';
@@ -273,6 +273,7 @@
filtered = setInitials();
}
}
</script>
<div class="flex space-x-1 p-6 font-bold">
@@ -280,6 +281,7 @@
{#if $appSession.isAdmin && (applications.length !== 0 || destinations.length !== 0 || databases.length !== 0 || services.length !== 0 || gitSources.length !== 0 || destinations.length !== 0)}
<NewResource />
{/if}
</div>
<div class="container lg:mx-auto lg:p-0 px-8 p-5">
<!-- {#if $appSession.teamId === '0'}