Schedule
- Script or Flow
+ Script/Flow
schedule
off/on
@@ -95,11 +96,14 @@
{is_flow ? 'flow' : 'script'}
{schedule}
@@ -145,47 +149,63 @@
>By {edited_by} the {displayDate(edited_at)}
- {
- setScheduleEnabled(path, enabled ? false : true)
+
+
+ Runs
+
+ {
+ setScheduleEnabled(path, enabled ? false : true)
+ }
+ },
+ {
+ displayName: 'Delete',
+ icon: faTrash,
+ disabled: !canWrite,
+ action: async () => {
+ await ScheduleService.deleteSchedule({
+ workspace: $workspaceStore ?? '',
+ path
+ })
+ loadSchedules()
+ }
+ },
+ {
+ displayName: 'Edit',
+ icon: faEdit,
+ disabled: !canWrite,
+ action: () => {
+ scheduleEditor?.openEdit(path, is_flow)
+ }
+ },
+ {
+ displayName: 'View Runs',
+ icon: faList,
+ href: '/runs/' + path
+ },
+ {
+ displayName: canWrite ? 'Share' : 'See Permissions',
+ icon: faShare,
+ action: () => {
+ shareModal.openDrawer(path, 'schedule')
+ }
}
- },
- {
- displayName: 'Delete',
- icon: faTrash,
- disabled: !canWrite,
- action: async () => {
- await ScheduleService.deleteSchedule({
- workspace: $workspaceStore ?? '',
- path
- })
- loadSchedules()
- }
- },
- {
- displayName: 'Edit',
- icon: faEdit,
- disabled: !canWrite,
- action: () => {
- scheduleEditor?.openEdit(path, is_flow)
- }
- },
- {
- displayName: canWrite ? 'Share' : 'See Permissions',
- icon: faShare,
- action: () => {
- shareModal.openDrawer(path, 'schedule')
- }
- }
- ]}
- />
+ ]}
+ />
+
+
{/each}
diff --git a/frontend/src/routes/(root)/(logged)/scripts/get/[...hash]/+page.svelte b/frontend/src/routes/(root)/(logged)/scripts/get/[...hash]/+page.svelte
index 283a6a0716..6d4ed2e0a9 100644
--- a/frontend/src/routes/(root)/(logged)/scripts/get/[...hash]/+page.svelte
+++ b/frontend/src/routes/(root)/(logged)/scripts/get/[...hash]/+page.svelte
@@ -347,7 +347,6 @@