@sanity/ailf 7.4.0 → 7.4.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.
@@ -125,7 +125,12 @@ export function estimateImpact(failureModeReport, scores, weights = DEFAULT_WEIG
125
125
  ? "medium"
126
126
  : "low";
127
127
  gaps.push({
128
- affectedTaskIds: uniqueTasks.length > 0 ? uniqueTasks : [area],
128
+ // Attribute only real task ids. When no classified judgment maps
129
+ // to a task in this area, leave the list empty rather than falling
130
+ // back to the bare area name — consumers (the dashboard) render
131
+ // each entry as an `ailf.task` deep-link, and an area id resolves
132
+ // to no task. The area is already carried in the `area` field.
133
+ affectedTaskIds: uniqueTasks,
129
134
  area,
130
135
  bottleneckDimensions,
131
136
  confidence,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ailf",
3
- "version": "7.4.0",
3
+ "version": "7.4.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"