diff --git a/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte b/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte index 60282b7e7..6ab9a4ab1 100644 --- a/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte +++ b/src/routes/console/project-[project]/functions/function/[function]/settings/+page.svelte @@ -1,5 +1,13 @@ @@ -261,6 +312,52 @@ +
+ +
Update Events
+

Set the events that will trigger your function. Maximum 100 events allowed.

+ + {#if eventSet.size} + + {#each Array.from(eventSet) as event} +
  • + + {event} + + + + +
  • + {/each} +
    + {:else} + (showEvents = !showEvents)} + >Add a event to get started + + {/if} + +
    + +
    +
    + + + + +
    +
    +
    console.log($func.schedule)}>

    Update CRON Schedule

    @@ -460,4 +557,10 @@ on:updated={handleVariableUpdated} /> {/if} - +{#if showVariablesUpload} + +{/if} + +{#if showEvents} + +{/if}