Skip to content

Commit 70b73a5

Browse files
committed
fix: tables
1 parent f1dc880 commit 70b73a5

File tree

9 files changed

+17
-16
lines changed

9 files changed

+17
-16
lines changed

src/lib/helpers/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export type Column = PinkColumn & {
3131
array?: boolean;
3232
format?: string;
3333
exclude?: boolean;
34+
show?: boolean;
3435
elements?: string[] | { value: string | number; label: string }[];
3536
};
3637

src/routes/(console)/organization-[organization]/domains/domain-[domain]/store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export const columns = writable<Column[]>([
99
{ id: 'type', title: 'Type', type: 'string' },
1010
{ id: 'value', title: 'Value', type: 'string' },
1111
{ id: 'ttl', title: 'TTL', type: 'integer' },
12-
{ id: 'priority', title: 'Priority', type: 'integer', hide: true },
13-
{ id: 'comment', title: 'Comment', type: 'string', hide: true },
12+
{ id: 'priority', title: 'Priority', type: 'integer', show: false },
13+
{ id: 'comment', title: 'Comment', type: 'string', show: false },
1414
{ id: '$createdAt', title: 'Created', type: 'datetime' }
1515
]);
1616

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
{ id: 'name', title: 'Name', type: 'string', width: { min: 260 } },
3838
{ id: 'identifiers', title: 'Identifiers', type: 'string', width: { min: 140 } },
3939
{ id: 'status', title: 'Status', type: 'string', width: { min: 140 } },
40-
{ id: 'labels', title: 'Labels', type: 'string', hide: true, width: { min: 140 } },
40+
{ id: 'labels', title: 'Labels', type: 'string', show: false, width: { min: 140 } },
4141
{ id: 'joined', title: 'Joined', type: 'string', width: { min: 140 } },
4242
{
4343
id: 'lastActivity',
4444
title: 'Last activity',
4545
type: 'string',
46-
hide: true,
46+
show: false,
4747
width: { min: 140 }
4848
}
4949
]);

src/routes/(console)/project-[project]/auth/user-[user]/identities/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
const columns = writable<Column[]>([
1717
{ id: '$id', title: 'Identity ID', type: 'string', width: 200 },
1818
{ id: 'provider', title: 'Provider', type: 'string', width: 80 },
19-
{ id: 'providerUid', title: 'Provider UID', type: 'string', hide: true, width: 80 },
19+
{ id: 'providerUid', title: 'Provider UID', type: 'string', show: false, width: 80 },
2020
{ id: 'providerEmail', title: 'Email', type: 'string', width: 80 },
2121
{
2222
id: 'providerAccessTokenExpiry',
@@ -25,7 +25,7 @@
2525
width: 60
2626
},
2727
{ id: '$createdAt', title: 'Created', type: 'datetime', width: 80 },
28-
{ id: '$updatedAt', title: 'Updated', type: 'datetime', hide: true, width: 80 }
28+
{ id: '$updatedAt', title: 'Updated', type: 'datetime', show: false, width: 80 }
2929
]);
3030
</script>
3131

src/routes/(console)/project-[project]/functions/function-[function]/executions/store.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const columns = writable<Column[]>([
1515
id: 'trigger',
1616
title: 'Trigger',
1717
type: 'string',
18-
hide: true,
18+
show: false,
1919
width: { min: 90, max: 200 },
2020
array: true,
2121
format: 'enum',
@@ -29,7 +29,7 @@ export const columns = writable<Column[]>([
2929
id: 'requestMethod',
3030
title: 'Method',
3131
type: 'string',
32-
hide: true,
32+
show: false,
3333
width: { min: 90, max: 200 },
3434
array: true,
3535
format: 'enum',
@@ -39,7 +39,7 @@ export const columns = writable<Column[]>([
3939
id: 'responseStatusCode',
4040
title: 'Status code',
4141
type: 'integer',
42-
hide: true,
42+
show: false,
4343
width: { min: 100, max: 200 },
4444
format: 'integer',
4545
elements: [

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
id: 'message',
4646
title: 'Message',
4747
type: 'string',
48-
hide: true,
48+
show: false,
4949
filter: false,
5050
width: { min: 140 }
5151
},

src/routes/(console)/project-[project]/messaging/topics/+page.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,21 @@
3636
id: 'emailTotal',
3737
title: 'Email Subscribers',
3838
type: 'integer',
39-
hide: true,
39+
show: false,
4040
width: { min: 140 }
4141
},
4242
{
4343
id: 'smsTotal',
4444
title: 'SMS Subscribers',
4545
type: 'integer',
46-
hide: true,
46+
show: false,
4747
width: { min: 140 }
4848
},
4949
{
5050
id: 'pushTotal',
5151
title: 'Push Subscribers',
5252
type: 'integer',
53-
hide: true,
53+
show: false,
5454
width: { min: 140 }
5555
},
5656
{

src/routes/(console)/project-[project]/settings/webhooks/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Column } from '$lib/helpers/types';
22
import { writable } from 'svelte/store';
33

44
export const columns = writable<Column[]>([
5-
{ id: '$id', title: 'Webhook ID', type: 'string', hide: true, width: 200 },
5+
{ id: '$id', title: 'Webhook ID', type: 'string', show: false, width: 200 },
66
{ id: 'name', title: 'Name', type: 'string', width: { min: 200 } },
77
{ id: 'url', title: 'Post URL', type: 'string', width: { min: 200 } },
88
{ id: 'events', title: 'Events', type: 'string', width: { min: 120 } },

src/routes/(console)/project-[project]/sites/site-[site]/deployments/store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const columns = writable<Column[]>([
6161
id: 'sourceSize',
6262
title: 'Source size',
6363
type: 'integer',
64-
hide: true,
64+
show: false,
6565
width: { min: 110, max: 190 },
6666
elements: [
6767
{
@@ -82,7 +82,7 @@ export const columns = writable<Column[]>([
8282
id: 'buildSize',
8383
title: 'Build size',
8484
type: 'integer',
85-
hide: true,
85+
show: false,
8686
filter: false,
8787
width: { min: 90, max: 190 }
8888
},

0 commit comments

Comments
 (0)