|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div v-if="pending">
|
|
|
|
|
|
|
+ <div v-if="rendering || pending">
|
|
|
<v-row class="justify-center progress">
|
|
<v-row class="justify-center progress">
|
|
|
<v-progress-circular indeterminate color="grey" />
|
|
<v-progress-circular indeterminate color="grey" />
|
|
|
</v-row>
|
|
</v-row>
|
|
@@ -60,7 +60,7 @@
|
|
|
<div class="button-container">
|
|
<div class="button-container">
|
|
|
<v-card-actions class="justify-end">
|
|
<v-card-actions class="justify-end">
|
|
|
<v-btn
|
|
<v-btn
|
|
|
- :to="`/actualites/${newsItem.id}`"
|
|
|
|
|
|
|
+ :to="`/actualites/${newsItem.id}-${newsItem.slug}`"
|
|
|
class="inv-theme btn mr-2 mb-1"
|
|
class="inv-theme btn mr-2 mb-1"
|
|
|
>
|
|
>
|
|
|
En savoir plus
|
|
En savoir plus
|
|
@@ -96,6 +96,11 @@ import type { ComputedRef, Ref } from 'vue'
|
|
|
import { useEntityFetch } from '~/composables/data/useEntityFetch'
|
|
import { useEntityFetch } from '~/composables/data/useEntityFetch'
|
|
|
import News from '~/models/Maestro/News'
|
|
import News from '~/models/Maestro/News'
|
|
|
|
|
|
|
|
|
|
+const rendering: Ref<boolean> = ref(true)
|
|
|
|
|
+onMounted(() => {
|
|
|
|
|
+ rendering.value = false
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
const config = useRuntimeConfig()
|
|
const config = useRuntimeConfig()
|
|
|
const { fetchCollection } = useEntityFetch()
|
|
const { fetchCollection } = useEntityFetch()
|
|
|
|
|
|