Skip to content

Commit 6e72867

Browse files
authored
Update EventChart.tsx
1 parent aa6cfce commit 6e72867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/charts/EventChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const EventChart: React.FC<EventChartProps> = React.memo(props => {
3131
const timeArr = timeList.map((el: any) => moment(el).format('kk:mm:ss'));
3232
const reverseTimeArr = timeArr.reverse()
3333
const hashedColour = colourGenerator(metric);
34-
const newMetricName = metric.replace("kubernetes-cadvisor/docker-desktop/", ""); // this will get rid of the long path
34+
const newMetricName = metric.replace("kubernetes-cadvisor/docker-desktop/", ""); // this will get rid of the long path
3535
const re = /_/g;
3636
let plotlyData: {
3737
name: any;

0 commit comments

Comments
 (0)