aboutsummaryrefslogtreecommitdiff
path: root/modern/src/DevicePage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/DevicePage.js')
-rw-r--r--modern/src/DevicePage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/DevicePage.js b/modern/src/DevicePage.js
index 7c963b02..48c6afde 100644
--- a/modern/src/DevicePage.js
+++ b/modern/src/DevicePage.js
@@ -12,8 +12,8 @@ const DevicePage = () => {
const getItem = () => {
const updatedItem = item;
- updatedItem.name = name;
- updatedItem.uniqueId = uniqueId;
+ updatedItem.name = name || item.name;
+ updatedItem.uniqueId = uniqueId || item.uniqueId;
return updatedItem;
};