fix enterpriseLicense check

This commit is contained in:
Ruben Fiszel
2023-11-09 12:01:38 +01:00
parent bc4f935c08
commit f780c4936e
@@ -239,7 +239,7 @@
class="text-xs"
/>
{/if}
{#if enterpriseLicense && handlerPath?.startsWith('hub/') && handlerPath?.endsWith('/workspace-or-schedule-error-handler-slack')}
{#if $enterpriseLicense && handlerPath?.startsWith('hub/') && handlerPath?.endsWith('/workspace-or-schedule-error-handler-slack')}
{#if !workspaceConnectedToSlack}
<Alert type="error" title="Workspace not connected to Slack">
<div class="flex flex-row gap-x-1 w-full items-center">