diff --git a/src/routes/(console)/project-[region]-[project]/functions/function-[function]/table.svelte b/src/routes/(console)/project-[region]-[project]/functions/function-[function]/table.svelte index e5cf9ce3b..cb37be02b 100644 --- a/src/routes/(console)/project-[region]-[project]/functions/function-[function]/table.svelte +++ b/src/routes/(console)/project-[region]-[project]/functions/function-[function]/table.svelte @@ -1,5 +1,5 @@ - + {#each columns as { id, title }} @@ -58,6 +101,7 @@ {#each data.deploymentList.deployments as deployment (deployment.$id)} {#each columns as column} @@ -169,3 +213,33 @@ {/if} + +{#if selectedRows.length > 0} + + + + + {selectedRows.length > 1 ? 'deployments' : 'deployment'} + selected + + + + + + + +{/if} + + +

+ Are you sure you want to delete {selectedRows.length} + {selectedRows.length > 1 ? 'deployments' : 'deployment'} from your function + {$func.name}? +

+ +

This action is irreversible.

+