Skip to content

Commit

Permalink
fix warning placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Dec 27, 2024
1 parent 0c5812d commit 1a3093f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions enterprise/frontend/src/routes/(app)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,15 @@
<SideBar bind:open={sidebarOpen} />
</svelte:fragment>
<svelte:fragment slot="pageHeader">
<aside class="variant-soft-warning text-center w-full items-center py-2">
{#if data.licenseStatus.status === 'expired'}
{#if data.licenseStatus.status === 'expired'}
<aside class="variant-soft-warning text-center w-full items-center py-2">
{m.licenseExpiredMessage()}
{:else if licenseAboutToExpire}
</aside>
{:else if licenseAboutToExpire}
<aside class="variant-soft-warning text-center w-full items-center py-2">
{m.licenseAboutToExpireWarning({ days_left: licenseStatus.days_left })}
{/if}
</aside>
</aside>
{/if}
<AppBar background="bg-white" padding="py-2 px-4">
<span
class="text-2xl font-bold pb-1 bg-gradient-to-r from-pink-500 to-violet-600 bg-clip-text text-transparent"
Expand Down

0 comments on commit 1a3093f

Please sign in to comment.