From 4996b49b2fbc0bb3b4a01f8184bbee5735d78f4a Mon Sep 17 00:00:00 2001 From: Arman Date: Wed, 20 Dec 2023 16:47:28 +0100 Subject: [PATCH] fix: remove warning in deployment page --- .../functions/function-[function]/+page.svelte | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/routes/console/project-[project]/functions/function-[function]/+page.svelte b/src/routes/console/project-[project]/functions/function-[function]/+page.svelte index 5f32548a1..1462e407d 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/+page.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/+page.svelte @@ -40,9 +40,7 @@ import DeploymentCreatedBy from './deploymentCreatedBy.svelte'; import DeploymentDomains from './deploymentDomains.svelte'; import { GRACE_PERIOD_OVERRIDE, isCloud } from '$lib/system'; - import { readOnly, tierToPlan } from '$lib/stores/billing'; - import { hoursToDays } from '$lib/helpers/date'; - import { organization } from '$lib/stores/organization'; + import { readOnly } from '$lib/stores/billing'; export let data; @@ -215,18 +213,7 @@ Size - - -

- Logs are retained in rolling {hoursToDays(limit)} intervals with the - {tierToPlan($organization.billingPlan).name} - plan. - {#if $organization.billingPlan === 'tier-0'} - to increase - your log retention for a longer period. - {/if} -

-
+ {#each $deploymentList.deployments as deployment, index (deployment.$id)} {@const status = deployment.status}