remove ability to delete worker config on non ee

This commit is contained in:
Ruben Fiszel
2023-10-09 12:51:37 +02:00
parent c4c075d029
commit a6c1114ccd
@@ -77,7 +77,7 @@
}}
>
<div class="flex flex-col w-full space-y-4">
<span>Are you sure you want to remove this worker nconfig?</span>
<span>Are you sure you want to remove this worker group {name}?</span>
</div>
</ConfirmationModal>
@@ -329,7 +329,7 @@
color="light"
size="xs"
on:click={() => {
if (!enterpriseLicense) {
if (!$enterpriseLicense) {
sendUserToast('Worker Management UI is an EE feature', true)
} else {
openDelete = true