@agentiffai/design 0.1.14 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +3 -3
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.js +3 -3
- package/dist/layout/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2677,12 +2677,12 @@ function normalizeCategory(category) {
|
|
|
2677
2677
|
function groupRunsByWorkflow(runs) {
|
|
2678
2678
|
const groups = /* @__PURE__ */ new Map();
|
|
2679
2679
|
for (const run of runs) {
|
|
2680
|
-
const
|
|
2681
|
-
const groupKey = run.workflowId || workflowName;
|
|
2680
|
+
const groupKey = run.workflowId || run.workflowName || "ungrouped";
|
|
2682
2681
|
if (!groups.has(groupKey)) {
|
|
2682
|
+
const displayName = run.workflowName || run.name;
|
|
2683
2683
|
groups.set(groupKey, {
|
|
2684
2684
|
workflowId: groupKey,
|
|
2685
|
-
workflowName,
|
|
2685
|
+
workflowName: displayName,
|
|
2686
2686
|
runs: []
|
|
2687
2687
|
});
|
|
2688
2688
|
}
|