Skip to content

Commit 153f044

Browse files
committed
Add thread status to the UI
1 parent 80a2c2c commit 153f044

1 file changed

Lines changed: 9 additions & 17 deletions

File tree

web/components/MessageThread.vue

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -89,27 +89,19 @@
8989
<v-list-item-action-text>
9090
{{ threadDate(thread.order_timestamp) }}
9191
</v-list-item-action-text>
92-
<v-icon
93-
v-if="thread.status === 'expired'"
94-
color="warning"
95-
class="mt-n2"
96-
>{{ mdiAlert }}</v-icon
97-
>
98-
<v-icon
99-
v-else-if="thread.status === 'delivered'"
100-
color="primary"
101-
class="mt-n6"
102-
>
92+
<v-icon v-if="thread.status === 'expired'" color="warning">{{
93+
mdiAlert
94+
}}</v-icon>
95+
<v-icon v-else-if="thread.status === 'delivered'" color="primary">
10396
{{ mdiCheckAll }}
10497
</v-icon>
105-
<v-icon v-else-if="thread.status === 'sent'" class="mt-n6">
98+
<v-icon v-else-if="thread.status === 'received'" color="success">
99+
{{ mdiCheckAll }}
100+
</v-icon>
101+
<v-icon v-else-if="thread.status === 'sent'">
106102
{{ mdiCheck }}
107103
</v-icon>
108-
<v-icon
109-
v-else-if="thread.status === 'failed'"
110-
color="error"
111-
class="mt-n2"
112-
>
104+
<v-icon v-else-if="thread.status === 'failed'" color="error">
113105
{{ mdiAlert }}
114106
</v-icon>
115107
</v-list-item-action>

0 commit comments

Comments
 (0)