mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge branch '1.4.x' of https://github.com/appwrite/appwrite-console-poc into 1.4.x
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
import { WizardStep } from '$lib/layout';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
import { onMount } from 'svelte';
|
||||
import Repositories from '../components/repositories.svelte';
|
||||
import { installation, repository, template, templateConfig } from '../store';
|
||||
|
||||
@@ -15,6 +16,10 @@
|
||||
let hasInstallations: boolean;
|
||||
let selectedRepository: string;
|
||||
|
||||
onMount(() => {
|
||||
$templateConfig.repositoryPrivate = true;
|
||||
});
|
||||
|
||||
async function beforeSubmit() {
|
||||
if (!hasInstallations || !$installation) {
|
||||
throw new Error('Please connect a Git provider');
|
||||
|
||||
Reference in New Issue
Block a user