[MM-44644] Update configured server URL from SiteURL if available (#2152)

This commit is contained in:
Devin Binnie
2022-06-14 12:30:24 -04:00
committed by GitHub
parent 3d353d021b
commit 537ed1dd0c
5 changed files with 40 additions and 4 deletions

View File

@@ -161,6 +161,7 @@ export function handleEditServerModal(e: IpcMainEvent, name: string) {
teams[serverIndex].name = data.name;
teams[serverIndex].url = data.url;
Config.set('teams', teams);
updateServerInfos([teams[serverIndex]]);
}).catch((e) => {
// e is undefined for user cancellation
if (e) {