diff --git a/app/packages/app/src/recoil/aggregations.ts b/app/packages/app/src/recoil/aggregations.ts index 772127f28f..66344176c2 100644 --- a/app/packages/app/src/recoil/aggregations.ts +++ b/app/packages/app/src/recoil/aggregations.ts @@ -371,6 +371,12 @@ export const count = selectorFamily< if (!result) { const split = path.split("."); + if (split[0] === "tags") { + return get(counts({ extended, path: "tags", modal }))[ + split.slice(1).join(".") + ]; + } + if (split.length < 2) { throw new Error(`invalid path ${path}`); }