target blank for contribution message links

This commit is contained in:
Moriz Wahl 2022-10-28 11:16:59 +02:00
parent fd0ebe2be2
commit c97dd76e25

View File

@ -1,7 +1,7 @@
<template>
<div class="mt-2">
<span v-for="({ type, text }, index) in linkifiedMessage" :key="index">
<b-link v-if="type === 'link'" :href="text">{{ text }}</b-link>
<b-link v-if="type === 'link'" :href="text" target="_blank">{{ text }}</b-link>
<span v-else>{{ text }}</span>
</span>
</div>