Merge pull request #28 from valueonag/int

core class for system attributes sysCreated / sysModified
This commit is contained in:
Patrick Motsch 2026-04-04 19:15:21 +02:00 committed by GitHub
commit 51cad2cab6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -281,8 +281,8 @@ export async function fetchWorkflowRuns(
export interface CompletedRun extends Automation2Run {
workflowLabel?: string;
_modifiedAt?: number;
_createdAt?: number;
sysModifiedAt?: number;
sysCreatedAt?: number;
}
export async function fetchCompletedRuns(

View file

@ -337,7 +337,7 @@ const OutputCard: React.FC<{
run: CompletedRun;
instanceId?: string;
}> = ({ run }) => {
const ts = run._modifiedAt ?? run._createdAt ?? 0;
const ts = run.sysModifiedAt ?? run.sysCreatedAt ?? 0;
const files: Array<{ name: string; fileId: string }> = [];
const nodeOutputs = run.nodeOutputs ?? {};
for (const [, out] of Object.entries(nodeOutputs)) {