Remove console.log statements from sensor store and AnalyticsView
This commit is contained in:
@@ -188,7 +188,6 @@ export const useSensorStore = defineStore('sensor', () => {
|
||||
}) {
|
||||
const result = await handleApiCall(() => sensorsApi.getSensors(params))
|
||||
if (result) {
|
||||
console.log(result)
|
||||
// Check if result has a sensors property (common API pattern)
|
||||
if (result.sensors && Array.isArray(result.sensors)) {
|
||||
let totalReadingsCount: number = 0
|
||||
|
||||
@@ -332,7 +332,6 @@ const apiError = computed(
|
||||
|
||||
// Helper functions
|
||||
const formatNumber = (num: number): string => {
|
||||
console.log(num)
|
||||
if (num >= 1000000) return (num / 1000000).toFixed(1) + 'M'
|
||||
if (num >= 1000) return (num / 1000).toFixed(1) + 'K'
|
||||
return num.toString()
|
||||
|
||||
Reference in New Issue
Block a user