Merge pull request #2180 from HarshMN2345/feat-SER-23-improve-ux-of-platform

This commit is contained in:
Darshan
2025-08-05 18:52:50 +05:30
committed by GitHub
@@ -120,10 +120,11 @@
</script>
{#if data.platforms.platforms.length}
<Table.Root columns={3} let:root>
<Table.Root columns={4} let:root>
<svelte:fragment slot="header" let:root>
<Table.Header.Cell {root}>Name</Table.Header.Cell>
<Table.Header.Cell {root}>Platform type</Table.Header.Cell>
<Table.Header.Cell {root}>Identifier</Table.Header.Cell>
<Table.Header.Cell {root}>Last updated</Table.Header.Cell>
</svelte:fragment>
{#each data.platforms.platforms as platform}
@@ -137,6 +138,13 @@
{PlatformTypes[platform.type]}
</Layout.Stack>
</Table.Cell>
<Table.Cell {root}>
{#if platform.type.includes('web') || platform.type === 'web'}
{platform.hostname || '—'}
{:else}
{platform.key || platform.hostname || '—'}
{/if}
</Table.Cell>
<Table.Cell {root}>
{#if platform.$updatedAt}
<DualTimeView time={platform.$updatedAt} />