Make whole activity entry clickable to jump to the entry

Relates to MS-900 #complete
This commit is contained in:
Ramon Wenger 2024-03-10 22:39:13 +01:00
parent 0c95117832
commit f44bf5cd85
1 changed files with 5 additions and 7 deletions

View File

@ -1,19 +1,17 @@
<template> <template>
<div <router-link
v-bind="$attrs" v-bind="$attrs"
:to="to"
class="activity-entry" class="activity-entry"
> >
<div class="activity-entry__content"> <div class="activity-entry__content">
<slot /> <slot />
</div> </div>
<router-link <div class="activity-entry__link">
:to="to"
class="activity-entry__link"
>
<chevron-right class="activity-entry__icon" /> <chevron-right class="activity-entry__icon" />
</router-link> </div>
</div> </router-link>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">