Skip to content

Commit 7619826

Browse files
committed
fix: simplified logic
1 parent be67080 commit 7619826

File tree

1 file changed

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

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,7 @@
139139
</Layout.Stack>
140140
</Table.Cell>
141141
<Table.Cell {root}>
142-
{#if platform.type.includes('web') || platform.type === 'web'}
143-
{platform.hostname || ''}
144-
{:else if platform.type.includes('android') || platform.type.includes('ios')}
145-
{platform.key || platform.hostname || ''}
146-
{:else}
147-
{platform.key || platform.hostname || ''}
148-
{/if}
142+
{platform.hostname || platform.key || ''}
149143
</Table.Cell>
150144
<Table.Cell {root}>
151145
{#if platform.$updatedAt}

0 commit comments

Comments
 (0)