mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: update execution old code
This commit is contained in:
1 parent
0e9740ddfa
commit
b1008a7412
1 file changed
+1
-4
+1
-4
@@ -39,7 +39,6 @@
|
||||
let showVariablesValue = [];
|
||||
let showVariablesDropdown = [];
|
||||
let timeout: number = null;
|
||||
let deployment: Models.Deployment = null;
|
||||
let functionName: string = null;
|
||||
let permissions: string[] = [];
|
||||
let arePermsDisabled = true;
|
||||
@@ -53,7 +52,6 @@
|
||||
await func.load(functionId);
|
||||
}
|
||||
await variableList.load(functionId);
|
||||
deployment = await func.getDeployment(functionId, $func.deployment);
|
||||
timeout ??= $func.timeout;
|
||||
functionName ??= $func.name;
|
||||
permissions = $func.execute;
|
||||
@@ -268,8 +266,7 @@
|
||||
<Button
|
||||
secondary
|
||||
on:click={() => {
|
||||
$execute.selected = deployment;
|
||||
$execute.show = true;
|
||||
$execute = $func;
|
||||
}}>Execute now</Button>
|
||||
</svelte:fragment>
|
||||
</CardGrid>
|
||||
|
||||
Reference in new issue
Block a user