Skip to content

Commit 4996b49

Browse files
committed
fix: remove warning in deployment page
1 parent 206c3ee commit 4996b49

File tree

1 file changed

+2
-15
lines changed
  • src/routes/console/project-[project]/functions/function-[function]

1 file changed

+2
-15
lines changed

src/routes/console/project-[project]/functions/function-[function]/+page.svelte

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
import DeploymentCreatedBy from './deploymentCreatedBy.svelte';
4141
import DeploymentDomains from './deploymentDomains.svelte';
4242
import { GRACE_PERIOD_OVERRIDE, isCloud } from '$lib/system';
43-
import { readOnly, tierToPlan } from '$lib/stores/billing';
44-
import { hoursToDays } from '$lib/helpers/date';
45-
import { organization } from '$lib/stores/organization';
43+
import { readOnly } from '$lib/stores/billing';
4644
4745
export let data;
4846
@@ -215,18 +213,7 @@
215213
<TableCellHead width={80}>Size</TableCellHead>
216214
<TableCellHead width={40} />
217215
</TableHeader>
218-
<TableBody service="logs" total={isCloud ? Infinity : 0}>
219-
<svelte:fragment slot="limit" let:limit let:upgradeMethod>
220-
<p class="text">
221-
Logs are retained in rolling {hoursToDays(limit)} intervals with the
222-
{tierToPlan($organization.billingPlan).name}
223-
plan.
224-
{#if $organization.billingPlan === 'tier-0'}
225-
<Button link on:click={upgradeMethod}>Upgrade</Button> to increase
226-
your log retention for a longer period.
227-
{/if}
228-
</p>
229-
</svelte:fragment>
216+
<TableBody>
230217
{#each $deploymentList.deployments as deployment, index (deployment.$id)}
231218
{@const status = deployment.status}
232219
<TableRow>

0 commit comments

Comments
 (0)