From 90c5082653b5aad97e500882ee5ff0d4de615e06 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 21 May 2024 07:50:47 +0200 Subject: [PATCH] fix: lighten watermark on public apps for ee --- .../routes/public/[workspace]/[...secret]/+page.svelte | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/routes/public/[workspace]/[...secret]/+page.svelte b/frontend/src/routes/public/[workspace]/[...secret]/+page.svelte index af83e7aeca..b6f9628884 100644 --- a/frontend/src/routes/public/[workspace]/[...secret]/+page.svelte +++ b/frontend/src/routes/public/[workspace]/[...secret]/+page.svelte @@ -7,13 +7,14 @@ import { Alert, Skeleton } from '$lib/components/common' import { WindmillIcon } from '$lib/components/icons' import { AppService, type AppWithLastVersion } from '$lib/gen' - import { userStore } from '$lib/stores' + import { enterpriseLicense, userStore } from '$lib/stores' import { twMerge } from 'tailwind-merge' import { setContext } from 'svelte' import github from 'svelte-highlight/styles/github' import { writable } from 'svelte/store' import { setLicense } from '$lib/enterpriseUtils' + import { isCloudHosted } from '$lib/cloud' let app: (AppWithLastVersion & { value: any }) | undefined = undefined let notExists = false @@ -43,7 +44,11 @@ {@html github} -
+