fix: missing platform keys on details.

This commit is contained in:
Darshan
2025-06-14 17:00:36 +05:30
parent 03811bdab6
commit c97074bd7e
3 changed files with 3 additions and 5 deletions
@@ -98,7 +98,7 @@
<div class="u-flex u-gap-16">
<div class="u-cross-child-center u-line-height-1-5">
<h6 class="u-bold">{$platform.name}</h6>
<p>{$platform.hostname}</p>
<p>{$platform.hostname || $platform.key}</p>
</div>
</div>
</Box>
@@ -250,8 +250,8 @@ static const String APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.reg
<Typography.Text
variant="m-400"
color="--fgcolor-neutral-primary">
{$createPlatform.name} ({$createPlatform.key ??
$createPlatform.hostname})
{$createPlatform.name} ({$createPlatform.hostname ||
$createPlatform.key})
</Typography.Text>
</Layout.Stack>
</Layout.Stack>
@@ -197,8 +197,6 @@ ${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.p
resetPlatformStore();
};
});
$: console.log('Reactivity triggered');
</script>
<Wizard title="Add web platform" bind:showExitModal confirmExit={!isPlatformCreated}>