@parallelworks/tandem-web 0.182.0 → 0.183.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/tandem-web",
3
- "version": "0.182.0",
3
+ "version": "0.183.0",
4
4
  "description": "Tandem's pages, for a host app to render in its own",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -97,7 +97,7 @@ function re() {
97
97
  teams: i,
98
98
  isAdmin: o
99
99
  }),
100
- /* @__PURE__ */ q(ae, {
100
+ g.sidebarHidden && /* @__PURE__ */ q(ae, {
101
101
  workspace: n,
102
102
  team: g,
103
103
  isAdmin: o
@@ -195,7 +195,7 @@ function ae({ workspace: n, team: r, isAdmin: i }) {
195
195
  body: { sidebarHidden: i }
196
196
  })),
197
197
  onSettled: () => l.invalidateQueries({ queryKey: s(n).queryKey })
198
- }), d = u.isPending && u.variables ? u.variables : r.sidebarHidden, f = ie.filter((e) => !d.includes(e)), p = [
198
+ }), d = u.isPending && u.variables ? u.variables : r.sidebarHidden ?? [], f = ie.filter((e) => !d.includes(e)), p = [
199
199
  {
200
200
  page: "triage",
201
201
  help: a("triageHelp"),
@@ -277,7 +277,7 @@ function at() {
277
277
  className: "relative flex",
278
278
  children: [e, n && t && /* @__PURE__ */ A("span", { className: it })]
279
279
  }), s = v.filter((e) => !e.archivedAt), c = new Set(s.map((e) => e.id)), u = (e) => s.filter((t) => (t.parentId && c.has(t.parentId) ? t.parentId : "") === e), f = (e) => {
280
- let t = (t) => Ie(d, e.key, t), n = kt.filter((t) => t.identifier.startsWith(`${e.key}-`)).length, i = (t) => !e.sidebarHidden.includes(t);
280
+ let t = (t) => Ie(d, e.key, t), n = kt.filter((t) => t.identifier.startsWith(`${e.key}-`)).length, i = (t) => !(e.sidebarHidden ?? []).includes(t);
281
281
  return /* @__PURE__ */ j(P, {
282
282
  label: e.name,
283
283
  icon: o(/* @__PURE__ */ A(l, {