File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,10 +97,13 @@ function onInstallApp() {
9797 color =" primary"
9898 :to =" { name: 'threads-id', params: { id: thread.id } }"
9999 :active =" threadsStore.threadId === thread.id"
100- :class =" { 'message-thread--unread': !thread.is_read }"
101100 >
102101 <template #prepend >
103- <v-avatar :color =" thread.color" size =" 40" >
102+ <v-avatar
103+ :color =" thread.color"
104+ size =" 40"
105+ :badge =" thread.is_read ? false : { color: 'primary', dotSize: 12 }"
106+ >
104107 <v-icon v-if =" !startsWithLetter(thread.contact)" color =" white" >{{
105108 mdiAccount
106109 }}</v-icon >
@@ -114,7 +117,7 @@ function onInstallApp() {
114117 }}</v-list-item-title >
115118 <v-list-item-subtitle
116119 class =" text-truncate mt-1"
117- :class =" { 'font-weight-bold': !thread.is_read }"
120+ :class =" { 'font-weight-bold opacity-100 ': !thread.is_read }"
118121 style =" max-width : 250px "
119122 >
120123 {{ thread.last_message_content }}
@@ -161,9 +164,3 @@ function onInstallApp() {
161164 </v-list >
162165 </div >
163166</template >
164-
165- <style scoped lang="scss">
166- .message-thread--unread {
167- background : rgba (var (--v-theme-primary ), 0.1 );
168- }
169- </style >
You can’t perform that action at this time.
0 commit comments