{#if canDelete}
-
+
{/if}
diff --git a/src/lib/pages/domains/delete.svelte b/src/lib/pages/domains/delete.svelte
index 98090caee..a1edc8f14 100644
--- a/src/lib/pages/domains/delete.svelte
+++ b/src/lib/pages/domains/delete.svelte
@@ -1,11 +1,9 @@
-a
- Are you sure you want to delete {selectedDomain?.domain}? You will no longer be able to
- execute your function by visiting this domain.
+ Are you sure you want to delete {selectedDomain?.domain}?
+ You will no longer be able to {getCorrectMessage()} by visiting this domain.
diff --git a/src/lib/wizards/functions/createTemplate.svelte b/src/lib/wizards/functions/createTemplate.svelte
index e41bf78dc..ae703bc45 100644
--- a/src/lib/wizards/functions/createTemplate.svelte
+++ b/src/lib/wizards/functions/createTemplate.svelte
@@ -55,10 +55,6 @@
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $choices.rootDir || undefined,
- $template.providerRepositoryId || undefined,
- $template.providerOwner || undefined,
- runtimeDetail.providerRootDirectory || undefined,
- $template.providerVersion || undefined,
$templateConfig.specification || undefined
);
diff --git a/src/routes/(console)/account/delete.svelte b/src/routes/(console)/account/delete.svelte
index d81d4fe7b..b7bf6fa15 100644
--- a/src/routes/(console)/account/delete.svelte
+++ b/src/routes/(console)/account/delete.svelte
@@ -3,10 +3,8 @@
import { Submit, trackEvent, trackError } from '$lib/actions/analytics';
import Confirm from '$lib/components/confirm.svelte';
import { Dependencies } from '$lib/constants';
- import { Button, Form } from '$lib/elements/forms';
import { addNotification } from '$lib/stores/notifications';
import { sdk } from '$lib/stores/sdk';
- import { Dialog, Layout } from '@appwrite.io/pink-svelte';
export let showDelete = false;
let error: string;
diff --git a/src/routes/(console)/account/deleteMfa.svelte b/src/routes/(console)/account/deleteMfa.svelte
index b709f001d..e37bd9d49 100644
--- a/src/routes/(console)/account/deleteMfa.svelte
+++ b/src/routes/(console)/account/deleteMfa.svelte
@@ -38,6 +38,6 @@
title="Delete authentication method"
bind:open={showDelete}
bind:error>
- Are you sure you want to delete this authentication method? You will no longer be able to use
- this method to authenticate your account.
+ Are you sure you want to delete this authentication method?
+ You will no longer be able to use this method to authenticate your account.
diff --git a/src/routes/(console)/organization-[organization]/domains/deleteDomainModal.svelte b/src/routes/(console)/organization-[organization]/domains/deleteDomainModal.svelte
index 56b5d9b9f..bbe3b6924 100644
--- a/src/routes/(console)/organization-[organization]/domains/deleteDomainModal.svelte
+++ b/src/routes/(console)/organization-[organization]/domains/deleteDomainModal.svelte
@@ -1,5 +1,4 @@
-
- {#if selectedDomain}
-
- Are you sure you want to delete {selectedDomain.domain}? You will no longer be
- able to execute your function by visiting this domain.
-
- {/if}
-
-
-
-
-
+
+ Are you sure you want to delete {selectedDomain?.domain}?
+ You will no longer be able to {getCorrectMessage()} by visiting this domain.
diff --git a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/certificates/deleteCertificateModal.svelte b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/certificates/deleteCertificateModal.svelte
index ef2ed13c0..f0f5ec638 100644
--- a/src/routes/(console)/organization-[organization]/domains/domain-[domain]/certificates/deleteCertificateModal.svelte
+++ b/src/routes/(console)/organization-[organization]/domains/domain-[domain]/certificates/deleteCertificateModal.svelte
@@ -30,11 +30,5 @@
-
- Are you sure you want to delete SSL certificate? This action is irreversible.
-
-
-
-
-
+ Are you sure you want to delete SSL certificate? This action is irreversible.
diff --git a/src/routes/(console)/project-[project]/functions/create-function/store.ts b/src/routes/(console)/project-[project]/functions/create-function/store.ts
index 79a1345b4..b248d6630 100644
--- a/src/routes/(console)/project-[project]/functions/create-function/store.ts
+++ b/src/routes/(console)/project-[project]/functions/create-function/store.ts
@@ -14,6 +14,7 @@ export const templateConfig = writable<{
repositoryId: string;
execute?: boolean;
scopes?: string[];
+ specification?: string;
}>();
export const choices = writable<{
diff --git a/src/routes/(console)/project-[project]/functions/create-function/wizard/createTemplate.svelte b/src/routes/(console)/project-[project]/functions/create-function/wizard/createTemplate.svelte
index e9f07cc22..11107b9ef 100644
--- a/src/routes/(console)/project-[project]/functions/create-function/wizard/createTemplate.svelte
+++ b/src/routes/(console)/project-[project]/functions/create-function/wizard/createTemplate.svelte
@@ -49,10 +49,7 @@
$templateConfig.repositoryBehaviour === 'manual'
? undefined
: $choices.rootDir || undefined,
- $template.providerRepositoryId || undefined,
- $template.providerOwner || undefined,
- runtimeDetail.providerRootDirectory || undefined,
- $template.providerVersion || undefined
+ $templateConfig.specification
);
if ($templateConfig.variables) {
diff --git a/src/routes/(console)/project-[project]/sites/site-[site]/domains/deleteDomainModal.svelte b/src/routes/(console)/project-[project]/sites/site-[site]/domains/deleteDomainModal.svelte
index 37d8c9b19..f3bcf72d9 100644
--- a/src/routes/(console)/project-[project]/sites/site-[site]/domains/deleteDomainModal.svelte
+++ b/src/routes/(console)/project-[project]/sites/site-[site]/domains/deleteDomainModal.svelte
@@ -34,7 +34,7 @@
{#if selectedDomain}
Are you sure you want to delete {selectedDomain.domain}? You will no longer be
- able to execute your function by visiting this domain.
+ able to view your site by visiting this domain.
{/if}