Add snoozed until display to item

This commit is contained in:
thepaperpilot 2024-04-29 23:08:39 -05:00
parent 722ded6065
commit 2eadf6f25b

View file

@ -11,6 +11,7 @@
<span class="grow">{{ sourceItem.title }}</span> <span class="grow">{{ sourceItem.title }}</span>
<span>{{ source.name }}</span> <span>{{ source.name }}</span>
</div> </div>
<div v-if="item.threads[0].snoozedUntil != null" class="mt-4 text-sm text-yellow-600">Snoozed until {{ new Date(item.threads[0].snoozedUntil).toLocaleString() }}</div>
</div> </div>
<component :is="actionIndicators" /> <component :is="actionIndicators" />
</div> </div>
@ -35,6 +36,7 @@
<div class="flex -mb-2 text-gray-500 text-sm font-normal"> <div class="flex -mb-2 text-gray-500 text-sm font-normal">
<span class="grow">{{ sourceItem.threads[id].title }}</span> <span class="grow">{{ sourceItem.threads[id].title }}</span>
</div> </div>
<div v-if="thread.snoozedUntil != null" class="mt-4 text-sm text-yellow-600">Snoozed until {{ new Date(thread.snoozedUntil).toLocaleString() }}</div>
</div> </div>
<component :is="actionIndicators" /> <component :is="actionIndicators" />
</div> </div>