fix: load after creation, optional steps

This commit is contained in:
Arman
2022-10-14 11:28:39 +02:00
parent 0c124e5830
commit ef88d0f0ab
@@ -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
});
</script>