瀏覽代碼

remove the 'rendering' variable

Olivier Massot 1 年之前
父節點
當前提交
2ac9a1ee9b
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      components/News/List.client.vue

+ 1 - 6
components/News/List.client.vue

@@ -1,5 +1,5 @@
 <template>
-  <div v-if="rendering || pending">
+  <div v-if="pending">
     <v-row class="justify-center progress">
       <v-progress-circular indeterminate color="grey" />
     </v-row>
@@ -96,11 +96,6 @@ import type { ComputedRef, Ref } from 'vue'
 import { useEntityFetch } from '~/composables/data/useEntityFetch'
 import News from '~/models/Maestro/News'
 
-const rendering: Ref<boolean> = ref(true)
-onMounted(() => {
-  rendering.value = false
-})
-
 const config = useRuntimeConfig()
 const { fetchCollection } = useEntityFetch()