mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Start on correct tab
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
|
||||
function openPlatformWizard(type: number, platform?: Models.Platform) {
|
||||
if (platform) {
|
||||
console.log('platform', platform);
|
||||
continuePlatform(type, platform.name, platform.key, platform.type);
|
||||
} else {
|
||||
addPlatform(type);
|
||||
|
||||
@@ -34,7 +34,10 @@
|
||||
key: key,
|
||||
type: type
|
||||
});
|
||||
wizard.start(platforms[platform], null, 1, { isPlatformCreated: true });
|
||||
wizard.start(platforms[platform], null, 1, {
|
||||
isPlatformCreated: true,
|
||||
platform: type
|
||||
});
|
||||
}
|
||||
|
||||
const platforms = {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
APPWRITE_PUBLIC_ENDPOINT: "${sdk.forProject.client.config.endpoint}"
|
||||
`;
|
||||
|
||||
let platform: PlatformType = PlatformType.Appleios;
|
||||
export let platform: PlatformType = PlatformType.Appleios;
|
||||
|
||||
let platforms: { [key: string]: PlatformType } = {
|
||||
iOS: PlatformType.Appleios,
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
import { LabelCard } from '$lib/components';
|
||||
|
||||
let showExitModal = false;
|
||||
export let isPlatformCreated = false;
|
||||
let isPlatformCreated = false;
|
||||
let isCreatingPlatform = false;
|
||||
let connectionSuccessful = false;
|
||||
const projectId = $page.params.project;
|
||||
@@ -43,7 +43,7 @@
|
||||
static const String APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject.client.config.endpoint}"
|
||||
`;
|
||||
|
||||
let platform: PlatformType = PlatformType.Flutterandroid;
|
||||
export let platform: PlatformType = PlatformType.Flutterandroid;
|
||||
|
||||
let platforms: { [key: string]: PlatformType } = {
|
||||
Android: PlatformType.Flutterandroid,
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
const APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject.client.config.endpoint}";
|
||||
`;
|
||||
|
||||
let platform: PlatformType = PlatformType.Reactnativeandroid;
|
||||
export let platform: PlatformType = PlatformType.Reactnativeandroid;
|
||||
|
||||
let platforms: { [key: string]: PlatformType } = {
|
||||
Android: PlatformType.Reactnativeandroid,
|
||||
|
||||
Reference in New Issue
Block a user