|
|
@@ -187,6 +187,7 @@
|
|
|
<template v-for="(f, i) in order.files" :key="f.id || i">
|
|
|
<div v-if="f.id" class="relative group/file bg-background/30 border border-border/50 rounded-2xl overflow-hidden hover:border-primary/30 transition-all flex h-20">
|
|
|
<!-- Preview -->
|
|
|
+ {{ console.log('DEBUG: Rendering file with RESOURCES_BASE_URL:', RESOURCES_BASE_URL, 'and f.preview_path:', f.preview_path) || "" }}
|
|
|
<div class="w-20 bg-muted/20 flex items-center justify-center border-r border-border/50 overflow-hidden">
|
|
|
<img v-if="f.preview_path" :src="`${RESOURCES_BASE_URL}/${f.preview_path}`" class="w-full h-full object-contain p-1" />
|
|
|
<FileBox v-else class="w-6 h-6 text-muted-foreground/30" />
|