mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: empty state
This commit is contained in:
@@ -44,9 +44,9 @@
|
||||
title="No installation was added to the project yet"
|
||||
description="Add an installation to connect repositories">
|
||||
<svelte:fragment slot="actions">
|
||||
<Button secondary href={connectGitHub().toString()} disabled={!isVcsEnabled}>
|
||||
<Icon icon={IconGithub} size="s" />
|
||||
Add installation
|
||||
<Button size="m" secondary href={connectGitHub().toString()} disabled={!isVcsEnabled}>
|
||||
<Icon icon={IconGithub} size="m" />
|
||||
Connect to GitHub
|
||||
</Button>
|
||||
</svelte:fragment>
|
||||
</Empty>
|
||||
|
||||
@@ -26,14 +26,23 @@
|
||||
</script>
|
||||
|
||||
<Wizard title="Create site" href={`${base}/project-${$page.params.project}/sites/`}>
|
||||
<Fieldset legend="Git repository">
|
||||
{#if hasInstallations}
|
||||
<Fieldset legend="Git repository">
|
||||
<Repositories
|
||||
bind:hasInstallations
|
||||
bind:selectedRepository
|
||||
product="sites"
|
||||
action="button"
|
||||
on:connect={onConnect} />
|
||||
</Fieldset>
|
||||
{:else}
|
||||
<Repositories
|
||||
bind:hasInstallations
|
||||
bind:selectedRepository
|
||||
product="sites"
|
||||
action="button"
|
||||
on:connect={onConnect} />
|
||||
</Fieldset>
|
||||
{/if}
|
||||
|
||||
<svelte:fragment slot="aside">
|
||||
<Card>
|
||||
|
||||
Reference in New Issue
Block a user