KamoCRM

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

Fixkamo-internal
Shipped
26 ஏப்ரல், 2026 அன்று 5:41 PM 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

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing