aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-06-18 12:09:14 +0300
committerHenry Jameson <me@hjkos.com>2018-07-06 20:12:09 +0300
commitfa8c221f3a6f9b1421e29aa014304576810a08e6 (patch)
tree37a7f735983b6ab0e021808344ac82d9b0c2bcae /src/components/notification/notification.vue
parentf911182a2f608bc0589fc16210fdbc9673f6cc4e (diff)
moved style generator into separate file. notifications are highlighted too now.
Diffstat (limited to 'src/components/notification/notification.vue')
-rw-r--r--src/components/notification/notification.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index eed598a8..97673752 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -1,6 +1,6 @@
<template>
<status v-if="notification.type === 'mention'" :compact="true" :statusoid="notification.status"></status>
- <div class="non-mention" v-else>
+ <div class="non-mention" :class="[userClass, { highlighted: userStyle }]" :style="[ userStyle ]"v-else>
<a class='avatar-container' :href="notification.action.user.statusnet_profile_url" @click.stop.prevent.capture="toggleUserExpanded">
<StillImage class='avatar-compact' :src="notification.action.user.profile_image_url_original"/>
</a>