瀏覽代碼

post MR fixes

Olivier Massot 2 年之前
父節點
當前提交
1c9e2b1f89

+ 0 - 1
components/Layout/Header/UniversalCreation/CreateButton.vue

@@ -149,7 +149,6 @@
    * @param href  Target absolute url
    */
   const onCardClick = (to: string | null, href: string | null) => {
-    console.log(to, href)
     if (to !== null) {
       // La carte définit une nouvelle destination : on se dirige vers elle.
       path.value.push(to)

+ 1 - 1
components/Layout/Header/UniversalCreation/GenerateCardsSteps.vue

@@ -5,7 +5,7 @@
 <template>
 
   <!-- Menu Accueil -->
-  <v-container v-if="location == 'home'">
+  <v-container v-if="location === 'home'">
     <v-row>
 
       <!-- Une personne -->

+ 1 - 1
components/Ui/DatePicker.vue

@@ -56,7 +56,7 @@ const props = defineProps({
   }
 })
 
-const dateFormat: ComputedRef<string> = computed(() => props.format ?? defaultFormatPattern)
+const dateFormat: Ref<string> = ref(props.format ?? defaultFormatPattern)
 
 const emit = defineEmits(['update:model-value'])