core class for system attributes sysCreated / sysModified

This commit is contained in:
ValueOn AG 2026-04-04 16:46:22 +02:00
parent 2a60f322ca
commit 892603156c
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)) {