Skip to content

Commit c97074b

Browse files
committed
fix: missing platform keys on details.
1 parent 03811bd commit c97074b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<div class="u-flex u-gap-16">
9999
<div class="u-cross-child-center u-line-height-1-5">
100100
<h6 class="u-bold">{$platform.name}</h6>
101-
<p>{$platform.hostname}</p>
101+
<p>{$platform.hostname || $platform.key}</p>
102102
</div>
103103
</div>
104104
</Box>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ static const String APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.reg
250250
<Typography.Text
251251
variant="m-400"
252252
color="--fgcolor-neutral-primary">
253-
{$createPlatform.name} ({$createPlatform.key ??
254-
$createPlatform.hostname})
253+
{$createPlatform.name} ({$createPlatform.hostname ||
254+
$createPlatform.key})
255255
</Typography.Text>
256256
</Layout.Stack>
257257
</Layout.Stack>

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ ${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.p
197197
resetPlatformStore();
198198
};
199199
});
200-
201-
$: console.log('Reactivity triggered');
202200
</script>
203201

204202
<Wizard title="Add web platform" bind:showExitModal confirmExit={!isPlatformCreated}>

0 commit comments

Comments
 (0)