Skip to content

Commit 0f624a0

Browse files
committed
fix: design QA
1 parent 90ed67f commit 0f624a0

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
</Layout.Stack>
180180
<Layout.Stack direction="row" gap="s" inline>
181181
{#if data.deploymentList.total}
182-
<ViewSelector view={View.Table} {columns} hideView allowNoColumns />
182+
<ViewSelector view={View.Table} {columns} hideView />
183183
{/if}
184184
<CreateActionMenu let:toggle>
185185
<Button on:click={toggle} event="create_deployment">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<Layout.Stack gap="s" inline direction="row" alignItems="center">
3636
{#if data?.executions?.total}
37-
<ViewSelector view={View.Table} {columns} hideView allowNoColumns />
37+
<ViewSelector view={View.Table} {columns} hideView />
3838
{/if}
3939
<Button
4040
event="execute_function"

src/routes/(console)/project-[project]/sites/(components)/logs.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<Logs
7878
{fullHeight}
7979
showScrollButton={!hideScrollButtons}
80-
logs={buildLogs || 'No logs available yet...'}
80+
logs={buildLogs || 'No logs available'}
8181
bind:theme={$app.themeInUse} />
8282
{/key}
8383
</Layout.Stack>

src/routes/(console)/project-[project]/sites/create-site/templates/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,6 @@
150150
name="Templates"
151151
limit={data.limit}
152152
offset={data.offset}
153-
total={data.templates?.length} />
153+
total={data.sum} />
154154
</Layout.Stack>
155155
</Wizard>

src/routes/(console)/project-[project]/sites/create-site/templates/+page.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { sdk } from '$lib/stores/sdk';
22
import { getPage, getSearch, getView, pageToOffset, View } from '$lib/helpers/load';
3+
import { getLimit } from '$lib/helpers/load';
34

45
export const load = async ({ url, route }) => {
5-
const limit = 12;
6+
const limit = getLimit(url, route, 12);
67
const page = getPage(url);
78
const search = getSearch(url);
89
const view = getView(url, route, View.Grid);

src/routes/(console)/project-[project]/sites/site-[site]/deployments/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<Layout.Stack direction="row" inline>
5656
{#if data.deploymentList.total}
57-
<ViewSelector view={View.Table} {columns} hideView allowNoColumns />
57+
<ViewSelector view={View.Table} {columns} hideView />
5858
{/if}
5959
<Popover padding="none" let:toggle>
6060
<Button size="s" on:click={toggle}>

0 commit comments

Comments
 (0)