From a70115d86abd2b6e61d58ca0d5f421fc1c617df0 Mon Sep 17 00:00:00 2001 From: snoop Date: Wed, 26 Jul 2017 18:23:18 +0900 Subject: [PATCH] fixed sensor --- src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx | 2 +- src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx | 4 ++-- src/ts/@overflow/sensor/react/components/SensorList.tsx | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx b/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx index 207f7ff..bb3a7b0 100644 --- a/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx +++ b/src/ts/@overflow/app/views/layout/SensorDetailLayout.tsx @@ -29,7 +29,7 @@ class SensorDetailLayout extends React.Component { const sub = [ { 'name': 'Info', - 'path': this.state.currUrl + '/info', + 'path': this.state.currUrl, }, { 'name': 'Items', diff --git a/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx b/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx index 61d7342..1a148fa 100644 --- a/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx +++ b/src/ts/@overflow/sensor/react/components/SensorDetailInfo.tsx @@ -38,7 +38,7 @@ export class SensorDetailInfo extends React.Component -
Sensor Details
+ diff --git a/src/ts/@overflow/sensor/react/components/SensorList.tsx b/src/ts/@overflow/sensor/react/components/SensorList.tsx index 0710cbd..9f1e6b7 100644 --- a/src/ts/@overflow/sensor/react/components/SensorList.tsx +++ b/src/ts/@overflow/sensor/react/components/SensorList.tsx @@ -122,7 +122,6 @@ export class SensorList extends React.Component -
Sensors