mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
chore: fix errors
This commit is contained in:
1 parent
57c82bb202
commit
ed5bbb82b0
4 files changed
+5
-6
No files matched your search
@@ -4,7 +4,6 @@
|
||||
import { Card, Layout, Typography } from '@appwrite.io/pink-svelte';
|
||||
|
||||
export let source = 'empty_state_card';
|
||||
export let noAspectRatio = false;
|
||||
</script>
|
||||
|
||||
<Card.Base variant="secondary" padding="s" radius="s">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
: '';
|
||||
</script>
|
||||
|
||||
<Copy value={getProjectEndpoint()} appendTo="parent" copyText="Copy endpoint">
|
||||
<Copy value={getProjectEndpoint()} copyText="Copy endpoint">
|
||||
<div
|
||||
class="flex u-gap-8 u-cross-center interactive-text-output is-buttons-on-top u-text-center"
|
||||
style:min-inline-size="0"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
|
||||
export const load = async () => {
|
||||
export const load = async ({ params }) => {
|
||||
const [installations, frameworks] = await Promise.all([
|
||||
sdk.forProject(page.params.region, page.params.project).vcs.listInstallations(),
|
||||
sdk.forProject(page.params.region, page.params.project).sites.listFrameworks()
|
||||
sdk.forProject(params.region, params.project).vcs.listInstallations(),
|
||||
sdk.forProject(params.region, params.project).sites.listFrameworks()
|
||||
]);
|
||||
return {
|
||||
installations,
|
||||
|
||||
@@ -8,7 +8,7 @@ export const load = async ({ depends, params }) => {
|
||||
depends(Dependencies.SITE);
|
||||
try {
|
||||
const [site] = await Promise.all([
|
||||
sdk.forProject(page.params.region, page.params.project).sites.get(params.site)
|
||||
sdk.forProject(params.region, params.project).sites.get(params.site)
|
||||
]);
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user