+ {#if showDate && date}
+
+ {/if}
{#if notFound}
script not found at {path} in workspace {$workspaceStore}
{:else}
diff --git a/frontend/src/lib/scripts.ts b/frontend/src/lib/scripts.ts
index 85b00f4bbd..aa51f5aa91 100644
--- a/frontend/src/lib/scripts.ts
+++ b/frontend/src/lib/scripts.ts
@@ -119,6 +119,7 @@ export async function getScriptByPath(path: string): Promise<{
concurrent_limit: number | undefined
concurrency_time_window_s: number | undefined
lock?: string
+ created_at?: string
}> {
if (path.startsWith('hub/')) {
const { content, language, schema, lockfile } = await ScriptService.getHubScriptByPath({ path })
@@ -146,7 +147,8 @@ export async function getScriptByPath(path: string): Promise<{
tag: script.tag,
concurrent_limit: script.concurrent_limit,
concurrency_time_window_s: script.concurrency_time_window_s,
- lock: script.lock
+ lock: script.lock,
+ created_at: script.created_at
}
}
}
diff --git a/frontend/src/routes/(root)/(logged)/flows/get/[...path]/+page.svelte b/frontend/src/routes/(root)/(logged)/flows/get/[...path]/+page.svelte
index 116c657a6d..c7e2f8304e 100644
--- a/frontend/src/routes/(root)/(logged)/flows/get/[...path]/+page.svelte
+++ b/frontend/src/routes/(root)/(logged)/flows/get/[...path]/+page.svelte
@@ -375,7 +375,7 @@
{/if}
- Edited by {flow.edited_by}
+ Edited by {flow.edited_by}
{#if flow.archived}
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 11a9023da2..9eacde431e 100644
--- a/frontend/src/routes/(root)/(logged)/scripts/get/[...hash]/+page.svelte
+++ b/frontend/src/routes/(root)/(logged)/scripts/get/[...hash]/+page.svelte
@@ -607,7 +607,7 @@
{/if}
- Edited by {script.created_by || 'unknown'}
+ Edited by {script.created_by || 'unknown'}
{truncateHash(script?.hash ?? '')}