Merge pull request #101 from VAR-Virtual-Air-Rescue/staging
fixed #100 // fix Cluster naming, fix Marker Popup settings not used
This commit was merged in pull request #101.
This commit is contained in:
@@ -70,7 +70,7 @@ export const handleConnectDispatch =
|
|||||||
userId: user.id,
|
userId: user.id,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (discordAccount?.id) {
|
if (discordAccount?.id && !ghostMode) {
|
||||||
await renameMember(
|
await renameMember(
|
||||||
discordAccount.discordId.toString(),
|
discordAccount.discordId.toString(),
|
||||||
`${getPublicUser(user).fullName} • ${selectedZone}`,
|
`${getPublicUser(user).fullName} • ${selectedZone}`,
|
||||||
@@ -99,7 +99,7 @@ export const handleConnectDispatch =
|
|||||||
|
|
||||||
io.to("dispatchers").emit("dispatchers-update");
|
io.to("dispatchers").emit("dispatchers-update");
|
||||||
io.to("pilots").emit("dispatchers-update");
|
io.to("pilots").emit("dispatchers-update");
|
||||||
if (discordAccount?.id) {
|
if (discordAccount?.id && !ghostMode) {
|
||||||
await renameMember(
|
await renameMember(
|
||||||
discordAccount.discordId.toString(),
|
discordAccount.discordId.toString(),
|
||||||
`${getPublicUser(user).fullName} - ${user.publicId}`,
|
`${getPublicUser(user).fullName} - ${user.publicId}`,
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ const MissionMarker = ({
|
|||||||
tab: "home",
|
tab: "home",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
close: openMissionMarker?.map((m) => m.id) || [],
|
close: [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ const PopupContent = ({
|
|||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
{aircraft.Station.bosCallsign.length > 15
|
{aircraft.Station.bosCallsign.length > 15
|
||||||
? aircraft.Station.locationStateShort
|
? aircraft.Station.bosCallsignShort
|
||||||
: aircraft.Station.bosCallsign}
|
: aircraft.Station.bosCallsign}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user