cicy-desktop 2.1.40 → 2.1.41
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
|
@@ -288,7 +288,11 @@ async function addTeam(spec) {
|
|
|
288
288
|
gNext.cicyDesktopNodes[id] = {
|
|
289
289
|
...prev,
|
|
290
290
|
...patch,
|
|
291
|
-
|
|
291
|
+
// Upsert by base_url: an EXISTING team keeps its (possibly user-renamed)
|
|
292
|
+
// name — never overwrite the title on re-add, even if the deeplink passes
|
|
293
|
+
// one. Everything else (token, install meta) DOES refresh. Only a brand-
|
|
294
|
+
// new team takes the provided title, falling back to the i18n Unnamed.
|
|
295
|
+
name: prev.name || patch.name || unnamedName(),
|
|
292
296
|
added_at: prev.added_at || now,
|
|
293
297
|
updated_at: now,
|
|
294
298
|
};
|