diff --git a/src/routes/console/project-[project]/functions/createFunction.svelte b/src/routes/console/project-[project]/functions/createFunction.svelte index 47fb363be..b18299e61 100644 --- a/src/routes/console/project-[project]/functions/createFunction.svelte +++ b/src/routes/console/project-[project]/functions/createFunction.svelte @@ -33,7 +33,7 @@ message: 'Function has been created', type: 'success' }); - functionList.load([Query.limit(6), Query.offset(0)]); + functionList.load([Query.limit(6), Query.offset(0), Query.orderDesc('$createdAt')]); wizard.hide(); } catch (error) { addNotification({ @@ -63,19 +63,23 @@ }); stepsComponents.set(2, { label: 'Execute access', - component: Step2 + component: Step2, + optional: true }); stepsComponents.set(3, { label: 'Events', - component: Step3 + component: Step3, + optional: true }); stepsComponents.set(4, { label: 'Scheduling', - component: Step4 + component: Step4, + optional: true }); stepsComponents.set(5, { label: 'Variables', - component: Step5 + component: Step5, + optional: true });