mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-03-28 17:43:05 +01:00
Handle nullable contact fields now that we don't send partial contacts
This commit is contained in:
@@ -254,10 +254,6 @@ export function App() {
|
||||
updated[idx] = {
|
||||
...existing,
|
||||
...contact,
|
||||
name: contact.name ?? existing.name,
|
||||
last_path: contact.last_path ?? existing.last_path,
|
||||
lat: contact.lat ?? existing.lat,
|
||||
lon: contact.lon ?? existing.lon,
|
||||
};
|
||||
return updated;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user