@@ -94,8 +94,6 @@ const {
refresh: refreshImage,
} = (await fetch(fileId, defaultImagePath, props.height, props.width)) as any
-console.log(imageSrc.value)
-
const refresh = () => {
refreshImage()
}
@@ -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 []
@@ -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)
@@ -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')