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>
<div
<router-link
v-bind="$attrs"
:to="to"
class="activity-entry"
>
<div class="activity-entry__content">
<slot />
</div>
<router-link
:to="to"
class="activity-entry__link"
>
<div class="activity-entry__link">
<chevron-right class="activity-entry__icon" />
</router-link>
</div>
</div>
</router-link>
</template>
<script setup lang="ts">