mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
misc: fixes.
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
$: avatars = $members.memberships?.map((m) => m.userName || m.userEmail) ?? [];
|
||||
$: organizationId = page.params.organization;
|
||||
$: path = `${base}/organization-${organizationId}`;
|
||||
$: console.log($scopes);
|
||||
$: tabs = [
|
||||
{
|
||||
href: path,
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@
|
||||
if (page.url.searchParams.has('runtime')) {
|
||||
runtime = page.url.searchParams.get('runtime') as Runtime;
|
||||
} else {
|
||||
runtime = matchingRuntimes[0];
|
||||
runtime = matchingRuntimes[0] as Runtime;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import { project } from '../store';
|
||||
import { canWriteProjects } from '$lib/stores/roles';
|
||||
import { getProjectEndpoint } from '$lib/helpers/project';
|
||||
|
||||
const endpoint = sdk.forConsole.client.config.endpoint;
|
||||
|
||||
@@ -45,7 +46,7 @@
|
||||
Access Appwrite services using this project's API Endpoint and Project ID.
|
||||
<svelte:fragment slot="aside">
|
||||
<CopyInput label="Project ID" value={$project.$id} />
|
||||
<CopyInput label="API Endpoint" value={endpoint} />
|
||||
<CopyInput label="API Endpoint" value={getProjectEndpoint()} />
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="actions">
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user