浏览代码

clean up console.log statements

Olivier Massot 6 月之前
父节点
当前提交
8f6b53319c

+ 0 - 2
components/Ui/Image.vue

@@ -94,8 +94,6 @@ const {
   refresh: refreshImage,
 } = (await fetch(fileId, defaultImagePath, props.height, props.width)) as any
 
-console.log(imageSrc.value)
-
 const refresh = () => {
   refreshImage()
 }

+ 0 - 2
components/Ui/Input/AutocompleteWithAp2i.vue

@@ -137,8 +137,6 @@ const { data: collection, pending } = await fetchCollection(
 const items: ComputedRef<Array<{ id: number | string; title: string }>> =
   computed(() => {
     if (!pending.value && collection.value && collection.value.items) {
-      console.log(collection)
-
       return collection.value.items.map(props.transformation)
     }
     return []

+ 0 - 1
components/Ui/Input/DatePicker.vue

@@ -101,7 +101,6 @@ const date: Ref<Date | undefined> = ref(
 )
 
 const onUpdate = (event: string) => {
-  console.log(event)
   updateViolationState(event)
   date.value = event ? new Date(event) : undefined
   emit('update:model-value', date.value ? formatISO(date.value) : undefined)

+ 0 - 1
services/data/imageManager.ts

@@ -55,7 +55,6 @@ class ImageManager {
       return defaultUrl
     }
 
-    console.log(blobPart, blobPart instanceof Blob, blobPart.size)
     if (!(blobPart instanceof Blob) || blobPart.size === 0) {
       console.error('Error: image ' + id + ' is invalid')
       return defaultUrl