Skip to content

Commit

Permalink
Déplace le fichier dans un sous-dossier existant et utilise une varia…
Browse files Browse the repository at this point in the history
…ble pour ne pas aller chercher l'image au build vue3
  • Loading branch information
Charline-L committed Jan 23, 2025
1 parent 502a200 commit 1a226ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 2024-frontend/src/views/ImportPurchases/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const store = useRootStore()
const router = useRouter()
/* Data */
const pictoDocument = "/static/images/picto-dsfr/document.svg"
const url = "https://raw.githubusercontent.com/betagouv/ma-cantine/refs/heads/main/data/schemas/imports/achats.json"
const ressources = [
{
Expand Down Expand Up @@ -127,7 +128,10 @@ const showErrors = (count) => {
id="file-upload"
class="fr-px-6w fr-px-xl-9w fr-py-6w fr-background-alt--blue-france fr-mt-4w fr-grid-row fr-grid-row--middle"
>
<div class="import-file-upload fr-col-12 fr-py-3w fr-px-4w fr-card">
<div class="fr-hidden fr-unhidden-xl fr-col-3 fr-pr-6w fr-grid-row--center">
<img :src="pictoDocument" alt="" />
</div>
<div class="import-file-upload fr-col-12 fr-col-xl-9 fr-py-3w fr-px-4w fr-card">
<DsfrFileUpload
label="Avant d’importer votre fichier en CSV, assurez-vous que vos données respectent le format ci-dessus"
hint="Extension du fichier autorisé : CSV"
Expand Down
File renamed without changes

0 comments on commit 1a226ca

Please sign in to comment.