aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Message.vue7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/Message.vue b/src/components/Message.vue
index d007d3e..5a1e0ea 100644
--- a/src/components/Message.vue
+++ b/src/components/Message.vue
@@ -1,7 +1,10 @@
1<template> 1<template>
2 <article v-if="show" class="message" :class="message.style"> 2 <article v-if="show" class="message" :class="message.style">
3 <div v-if="message.title" class="message-header"> 3 <div v-if="message.title || message.icon" class="message-header">
4 <p>{{ message.title }}</p> 4 <p>
5 <i v-if="message.icon" :class="`fa-fw ${message.icon}`"></i>
6 {{ message.title }}
7 </p>
5 </div> 8 </div>
6 <div 9 <div
7 v-if="message.content" 10 v-if="message.content"