Show provider name in view mode + own extension in edit dropdown

Fixkamo-internal
Shipped
26 Aprili 2026, 17:41 UTC
Author
kamo
Commit
e13ee7d

Two bugs on **************** 1. View mode dumped the raw UUID — "Instance 32f520b0-347a-…" — because the instance list was only loaded inside handleVoipEdit(). Load instances alongside the VOIP config on mount so assignedInstanceName resolves without entering edit mode. If the instance can't be resolved (e.g. deleted), say "(Provider unavailable)" instead of leaking the ID. 2. The Extension dropdown went blank as soon as you opened it because the member's own currently-assigned extension was filtered out as "in use". Two compounding causes: the backend's assignedMemberId came across as a JSON number that lost precision (separate fix in shared lib), and the filter wasn't tolerant of mismatched wire formats. Belt-and-suspenders fix here: a `sameMemberId` helper that compares as strings on both sides, plus a `dropdownExtensions` fallback that explicitly inserts the member's existing assignment from voipConfig if the org-extensions payload doesn't already include it.

All changes

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