diff --git a/src/routes/console/project-[project]/functions/function-[function]/settings/gitConnection.svelte b/src/routes/console/project-[project]/functions/function-[function]/settings/gitConnection.svelte index 9c7504e5c..4458339ed 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/settings/gitConnection.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/settings/gitConnection.svelte @@ -6,7 +6,6 @@ import { Dependencies } from '$lib/constants'; import { Button } from '$lib/elements/forms'; import InputCheckbox from '$lib/elements/forms/inputCheckbox.svelte'; - import InputSelect from '$lib/elements/forms/inputSelect.svelte'; import InputText from '$lib/elements/forms/inputText.svelte'; import { sdkForProject } from '$lib/stores/sdk'; import type { Models } from '@aw-labs/appwrite-console'; @@ -19,7 +18,6 @@ let rootDirectory: string = null; let silentMode = false; let repositories: Models.RepositoryList = null; - let branches: Models.BranchList = null; let error: string; async function selectInstallation(installation: Models.Installation) { try { @@ -41,11 +39,6 @@ async function selectRepository(repository: Models.Repository) { selectedRepository = repository; - - branches = await sdkForProject.vcs.listRepositoryBranches( - selectedInstallation.$id, - repository.id - ); } async function connectRepository() { @@ -184,36 +177,26 @@ {/if}
{:else} -- 3. Select branch: +
3. Enter branch:
- {#if branches === null} -Loading...
- {:else} -4. Enter root directory
+4. Enter root directory
-5. Silent mode?
+5. Silent mode?
-