v1.0.31: fix name selection being wiped when refreshProjects fires

Selecting a name called saveCredentials, which sent refreshProjects,
which re-fetched users and called populateUsers(users, globalUserId)
with globalUserId still empty — immediately clearing the selection.

Fix: saveCredentials now updates globalUserId immediately, and
refreshProjects is only triggered by token changes (scheduleCredSave),
not by name changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
pdmarf
2026-04-24 08:58:42 +01:00
co-authored by Claude Sonnet 4.6
parent 036567bc7c
commit a233cfc4fd
7 changed files with 18 additions and 14 deletions
@@ -1 +1 @@
U [�ź®/�‰Ş.ťCÄł+l.߆g0›h٬ţQ¨VšěX8Xú÷ cĹĘŻť­ÚxŮĐťž°K/(ßÚ|˘
vçXCá¹kf*j”˜vèk𮂿␍0OZj Yú»2Öˆ=%Ö/ÚVêØÅe[<ËÃ0õ7_÷ÊñÄë