Skip to content

Commit 28ac893

Browse files
committed
fix:Show hostname for web platforms
1 parent a3fd191 commit 28ac893

File tree

1 file changed

+3
-1
lines changed
  • src/routes/(console)/project-[region]-[project]/overview/platforms

1 file changed

+3
-1
lines changed

src/routes/(console)/project-[region]-[project]/overview/platforms/+page.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@
139139
</Layout.Stack>
140140
</Table.Cell>
141141
<Table.Cell {root}>
142-
{platform.hostname || platform.key || ''}
142+
{(platform.type.includes('web') || platform.type === 'web'
143+
? platform.hostname
144+
: platform.key) || ''}
143145
</Table.Cell>
144146
<Table.Cell {root}>
145147
{#if platform.$updatedAt}

0 commit comments

Comments
 (0)