Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
fix: message thread header
Acho Arnold Ewin321589a213a0
diff --git a/web/app/components/MessageThread.vue b/web/app/components/MessageThread.vueindex f1f81edb..e14154e4 100644--- a/web/app/components/MessageThread.vue+++ b/web/app/components/MessageThread.vue@@ -95,8 +95,8 @@ function onInstallApp() {</v-btn></div><v-list+ class="pt-0"v-if="!threadsStore.loadingThreads && threadsStore.threads.length > 0"- class="pa-0"><v-list-itemv-for="thread in threadsStore.threads"diff --git a/web/app/components/MessageThreadHeader.vue b/web/app/components/MessageThreadHeader.vueindex 6f71630e..10b2ea67 100644--- a/web/app/components/MessageThreadHeader.vue+++ b/web/app/components/MessageThreadHeader.vue@@ -106,22 +106,24 @@ async function logout() {</div></div></v-toolbar-title>- <div v-if="phonesStore.owner" class="d-flex mt-n4">- <p class="text-medium-emphasis mb-n1">+ <div v-if="phonesStore.owner" class="d-flex mt-n2">+ <p class="text-medium-emphasis mb-n1 mt-0">{{ phoneCountry(phonesStore.owner) }}</p><v-tooltip v-if="phonesStore.heartbeat" location="end"><template #activator="{ props: tooltipProps }"><v-btnv-bind="tooltipProps"- size="x-small"+ size="small"+ density="compact":to="{name: 'heartbeats-id',params: { id: phonesStore.owner },}"color="success"- class="ml-2 mt-1 mb-n1"+ class="ml-2 mb-0 mt-1"icon+ variant="text"><v-iconv-if="phonesStore.heartbeat.charging"@@ -129,10 +131,10 @@ async function logout() {class="mt-n1":icon="mdiBatteryChargingHigh"/>- <v-icon v-else size="x-small" :icon="mdiCircle" />+ <v-icon v-else size="x-small" color="success" :icon="mdiCircle" /></v-btn></template>- <h4>Last Heartbeat</h4>+ <h4 class="font-weight-bold mt-0 mb-0">Last Heartbeat</h4>{{ humanizeTime(phonesStore.heartbeat.timestamp) }} ago</v-tooltip></div>diff --git a/web/app/utils/filters.ts b/web/app/utils/filters.tsindex 2a8e6556..f1e43c70 100644--- a/web/app/utils/filters.ts+++ b/web/app/utils/filters.ts@@ -68,8 +68,8 @@ export function formatBillingPeriodDateOrdinal(value: string): string {export function humanizeTime(value: string): string {const durations = intervalToDuration({- start: new Date(),- end: new Date(value),+ start: new Date(value),+ end: new Date(),})return formatDuration(durations)}