summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/store/modules/HardwareStatus/SensorsStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/HardwareStatus/SensorsStore.js b/src/store/modules/HardwareStatus/SensorsStore.js
index 287796d9..cae7795f 100644
--- a/src/store/modules/HardwareStatus/SensorsStore.js
+++ b/src/store/modules/HardwareStatus/SensorsStore.js
@@ -11,7 +11,7 @@ const SensorsStore = {
},
mutations: {
setSensors: (state, sensors) => {
- state.sensors = uniqBy([...state.sensors, ...sensors], 'name');
+ state.sensors = uniqBy([...sensors, ...state.sensors], 'name');
},
},
actions: {