mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix with latest merge from origin
This commit is contained in:
1 parent
588fc5824c
commit
fa0ad0fb72
2 files changed
+6
-1
No files matched your search
@@ -52,7 +52,9 @@ export const load: LayoutLoad = async ({ params, depends }) => {
|
||||
header: Header,
|
||||
breadcrumbs: Breadcrumbs,
|
||||
organization,
|
||||
members
|
||||
members,
|
||||
roles,
|
||||
scopes
|
||||
};
|
||||
} catch (e) {
|
||||
const prefs = await sdk.forConsole.account.getPrefs();
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
import QuickFilters from './quickFilters.svelte';
|
||||
import { Pill } from '$lib/elements';
|
||||
import { onMount } from 'svelte';
|
||||
import { canWriteFunctions } from '$lib/stores/roles';
|
||||
|
||||
export let data;
|
||||
|
||||
@@ -185,6 +186,7 @@
|
||||
href={`${base}/project-${$page.params.project}/functions/function-${$page.params.function}/deployment-${activeDeployment.$id}`}>
|
||||
Build logs
|
||||
</Button>
|
||||
{#if $canWriteFunctions}
|
||||
<Button
|
||||
text
|
||||
class="u-margin-inline-end-16"
|
||||
@@ -194,6 +196,7 @@
|
||||
}}>
|
||||
Redeploy
|
||||
</Button>
|
||||
{/if}
|
||||
<Button
|
||||
secondary
|
||||
href={`${base}/project-${$project.$id}/functions/function-${$func.$id}/executions/execute-function`}
|
||||
|
||||
Reference in new issue
Block a user