Merge branch 'feat-execution-filter' of github.com:appwrite/console into feat-deployments-filters

This commit is contained in:
Arman
2024-06-27 17:48:12 +02:00
2 changed files with 15 additions and 5 deletions
+12 -2
View File
@@ -4,8 +4,18 @@
import { Button } from '$lib/elements/forms';
import { createEventDispatcher } from 'svelte';
export let confirmExit = false;
export let href = '';
type $$Props =
| {
confirmExit: boolean;
href?: string;
}
| {
confirmExit?: boolean;
href: string;
};
export let confirmExit: $$Props['confirmExit'] = false;
export let href: $$Props['href'] = '';
const dispatch = createEventDispatcher();
</script>
@@ -137,8 +137,8 @@
<title>Execute function - Appwrite</title>
</svelte:head>
<WizardSecondaryContainer href={previousPage}>
<WizardSecondaryHeader>Execute function</WizardSecondaryHeader>
<WizardSecondaryContainer>
<WizardSecondaryHeader href={previousPage}>Execute function</WizardSecondaryHeader>
<WizardSecondaryContent>
<Form bind:this={formComponent} onSubmit={handleSubmit} bind:isSubmitting>
<FormList>
@@ -369,7 +369,7 @@
</WizardSecondaryContent>
<WizardSecondaryFooter>
<Button fullWidthMobile secondary on:click={() => (showExitModal = true)}>Cancel</Button>
<Button fullWidthMobile secondary href={previousPage}>Cancel</Button>
<Button
fullWidthMobile
on:click={() => formComponent.triggerSubmit()}