Skip to content
Snippets Groups Projects
Commit 649d3844 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Add client only for articleDOI component

parent 02b78808
No related branches found
No related tags found
No related merge requests found
Pipeline #111520 passed
...@@ -22,6 +22,7 @@ const articleAbstract = computed(() => { return props.abstract ?? article.value? ...@@ -22,6 +22,7 @@ const articleAbstract = computed(() => { return props.abstract ?? article.value?
</script> </script>
<template> <template>
<ClientOnly>
<v-list-item :href="article?.href" :target="article?.target" density="compact" class="px-1"> <v-list-item :href="article?.href" :target="article?.target" density="compact" class="px-1">
<template #prepend v-if="!mobile && enumerate"> <template #prepend v-if="!mobile && enumerate">
<v-avatar color="primary" size="small" density="compact" variant="tonal"> <v-avatar color="primary" size="small" density="compact" variant="tonal">
...@@ -57,4 +58,5 @@ const articleAbstract = computed(() => { return props.abstract ?? article.value? ...@@ -57,4 +58,5 @@ const articleAbstract = computed(() => { return props.abstract ?? article.value?
</v-card> </v-card>
</v-list-item> </v-list-item>
<v-divider v-if="props.divider" inset></v-divider> <v-divider v-if="props.divider" inset></v-divider>
</ClientOnly>
</template> </template>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment