From 64046f4d126b2d690ae7f2fb13431b981ccb9088 Mon Sep 17 00:00:00 2001 From: LucasWerey Date: Thu, 25 Jan 2024 21:45:29 +0100 Subject: [PATCH] fix(dslib): fix selectfield and offerCard --- package.json | 2 +- .../CTA/SelectField/SelectField.story.vue | 4 +++ .../CTA/SelectField/SelectField.vue | 25 +++++++++++++++++-- .../Containment/OfferCard/OfferCard.story.vue | 4 +-- .../Containment/OfferCard/OfferCard.vue | 2 +- 5 files changed, 31 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 630a6a2..ba6ab9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lucaswerey/dslib-pfe", - "version": "0.0.68", + "version": "0.0.69", "private": false, "main": "./lib/index.umd.js", "module": "./lib/index.mjs", diff --git a/src/components/CTA/SelectField/SelectField.story.vue b/src/components/CTA/SelectField/SelectField.story.vue index 59a95b3..7ada946 100644 --- a/src/components/CTA/SelectField/SelectField.story.vue +++ b/src/components/CTA/SelectField/SelectField.story.vue @@ -36,6 +36,10 @@ const controls = reactive({ { value: 'Mois', label: 'Mois' }, { value: 'Années', label: 'Années' }, { value: 'Semaines', label: 'Semaines' }, + { value: 'Jours', label: 'Jours' }, + { value: 'Jours', label: 'Jours' }, + { value: 'Jours', label: 'Jours' }, + { value: 'Jours', label: 'Jours' }, { value: 'Jours', label: 'Jours' } ], default: 'Mois', diff --git a/src/components/CTA/SelectField/SelectField.vue b/src/components/CTA/SelectField/SelectField.vue index e395362..a851447 100644 --- a/src/components/CTA/SelectField/SelectField.vue +++ b/src/components/CTA/SelectField/SelectField.vue @@ -1,5 +1,5 @@ - + diff --git a/src/components/Containment/OfferCard/OfferCard.vue b/src/components/Containment/OfferCard/OfferCard.vue index 9fc385e..f4c0170 100644 --- a/src/components/Containment/OfferCard/OfferCard.vue +++ b/src/components/Containment/OfferCard/OfferCard.vue @@ -39,7 +39,7 @@ />

- {{ nCandidates }} candidats + {{ nCandidates ?? 0 }} {{ (nCandidates ?? 0) > 1 ? 'candidats' : 'candidat' }}