mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-07-06 18:01:22 +02: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] = {
|
updated[idx] = {
|
||||||
...existing,
|
...existing,
|
||||||
...contact,
|
...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;
|
return updated;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user