use v-html for error msgs

This commit is contained in:
Jake Potrebic 2021-03-20 19:04:17 -07:00
parent c06f167a3d
commit 00f06fd62f
No known key found for this signature in database
GPG Key ID: 7C58557EC9C421F8

View File

@ -1,8 +1,7 @@
<template>
<v-snackbar v-model="enabled" app :timeout="timeout" :color="color" top @input="onClose">
<div v-for="(message, index) in messages" :key="index" class="pb-1">
{{ message }}
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-for="(message, index) in messages" :key="index" class="pb-1" v-html="message" />
</v-snackbar>
</template>