Fix In-page "Refresh" button doesn't update sensor readings

The reason for this problem is uniqBy always keep the first one when removing repetition

Resolves: https://github.com/openbmc/webui-vue/issues/60

Change-Id: Iec87d7845e694b0f2a14de4061ae113eac492fc0
Signed-off-by: wangqi02 <wangqi02@inspur.com>
diff --git a/src/store/modules/HardwareStatus/SensorsStore.js b/src/store/modules/HardwareStatus/SensorsStore.js
index 287796d..cae7795 100644
--- a/src/store/modules/HardwareStatus/SensorsStore.js
+++ b/src/store/modules/HardwareStatus/SensorsStore.js
@@ -11,7 +11,7 @@
   },
   mutations: {
     setSensors: (state, sensors) => {
-      state.sensors = uniqBy([...state.sensors, ...sensors], 'name');
+      state.sensors = uniqBy([...sensors, ...state.sensors], 'name');
     },
   },
   actions: {