Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
<InputTextarea
placeholder="Enter request body here..."
id="body"
spellcheck={false}
bind:value={body} />
</Layout.Stack>
</Accordion>
Expand Down Expand Up @@ -292,6 +293,7 @@
<InputTextarea
placeholder="Enter request body here..."
id="body"
spellcheck={false}
bind:value={body} />
</Layout.Stack>
</Accordion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

function openPlatformWizard(type: number, platform?: Models.Platform) {
if (platform) {
continuePlatform(type, platform.name, platform.type);
continuePlatform(type, platform.name, platform.type, platform.key);
} else {
trackEvent(Click.PlatformCreateClick, { source: 'onboarding' });
addPlatform(type);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
});
}

export async function continuePlatform(platform: Platform, name: string, type: PlatformType) {
export async function continuePlatform(
platform: Platform,
name: string,
type: PlatformType,
key?: string
) {
createPlatform.set({
name: name,
type: type
Expand All @@ -40,7 +45,8 @@

wizard.start(platforms[platform], null, 1, {
isConnectPlatform: true,
platform: type
platform: type,
key: key
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.project).c
{/if}
</Layout.Stack>
</Form>
{:else}
{:else if selectedFramework}
<Card.Base padding="s"
><Layout.Stack direction="row" justifyContent="space-between" alignItems="center">
<Layout.Stack gap="xxs" direction="row">
Expand Down