Guard against non-array responses on /platform/orgs

Fixkamo-internal
Ya
24 Aprili 2026, 00:22 UTC
Mwandishi
kamo
Ahadi ya
dd925f8

A non-array response (empty body, error envelope, or {data: [...]} wrapper) was landing in the orgs state and blowing up the render with 'e.map is not a function'. Gate the state update behind Array.isArray, tolerate a {data: [...]} envelope, and surface an inline error with a console.warn when the response shape is unexpected. Also null-guard org.groups and group.subscriptions inside the render.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei