File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
amp-client/src/Pages/ProviderPages/ProviderDashboard Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -532,38 +532,6 @@ const ProviderDashboard = () => {
532532 < p > No detailed metrics data available.</ p >
533533 ) }
534534 </ div >
535-
536- { /* <div className="chart-widget all-metrics-widget">
537- <h3>All Metrics</h3>
538- {allMetrics && Object.keys(allMetrics).length > 0 ? (
539- <table>
540- <thead>
541- <tr>
542- <th>ID</th>
543- <th>Voltage</th>
544- <th>Current</th>
545- <th>Power</th>
546- <th>Energy</th>
547- <th>Timestamp</th>
548- </tr>
549- </thead>
550- <tbody>
551- {allMetrics.map((metric, index) => (
552- <tr key={metric.id}>
553- <td>{metric.id}</td>
554- <td>{metric.voltage}</td>
555- <td>{metric.current}</td>
556- <td>{metric.power}</td>
557- <td>{metric.energy}</td>
558- <td>{new Date(metric.created_at).toLocaleString()}</td>
559- </tr>
560- ))}
561- </tbody>
562- </table>
563- ) : (
564- <p>No detailed metrics data available.</p>
565- )}
566- </div> */ }
567535 </ div >
568536 ) }
569537 </ div >
You can’t perform that action at this time.
0 commit comments