diff --git a/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx b/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx
index 9b8629d7..b21a222a 100644
--- a/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx
+++ b/src/pages/Dashboard/DeviceUptime/DeviceUptime.tsx
@@ -96,7 +96,7 @@ const DeviceUptime = () => {
height: '100%',
}}
>
-
+
diff --git a/src/pages/Dashboard/UptimeChart/UptimeChart.tsx b/src/pages/Dashboard/UptimeChart/UptimeChart.tsx
index 803642ba..866da56d 100644
--- a/src/pages/Dashboard/UptimeChart/UptimeChart.tsx
+++ b/src/pages/Dashboard/UptimeChart/UptimeChart.tsx
@@ -178,6 +178,7 @@ type UptimeChartProps = {
monthlyActivity: number[];
startMonth: number;
endMonth: number;
+ withLabels: boolean;
};
const updateMonthlyValues = (data: any, monthlyActivity: any) => {
@@ -203,7 +204,7 @@ const updateMonthlyValues = (data: any, monthlyActivity: any) => {
return data;
}
-const UptimeChart = ({ monthlyActivity, startMonth, endMonth }: UptimeChartProps) => {
+const UptimeChart = ({ monthlyActivity, startMonth, endMonth, withLabels }: UptimeChartProps) => {
const updatedData = updateMonthlyValues(data, monthlyActivity);
console.log(updatedData)
@@ -213,7 +214,7 @@ const UptimeChart = ({ monthlyActivity, startMonth, endMonth }: UptimeChartProps
return (
-
+
@@ -223,7 +224,7 @@ const UptimeChart = ({ monthlyActivity, startMonth, endMonth }: UptimeChartProps
-
+ {withLabels && }
);