- {$i18n.t('Archived Chats')}
-
- {chatCount ?? ''}
-
+
+ {$i18n.t('Conversations')}
+ {#if chatCount !== null}
+ {chatCount}
+ {/if}
-
- {$i18n.t('Manage conversations you have archived.')}
+
+
{$i18n.t('Search')}
+
+
+ {#if query}
+
+ {/if}
+
-
-
- {#if query}
-
- {/if}
-
-
{#if chatList === null}
@@ -222,9 +221,9 @@
{$i18n.t('You have no archived conversations.')}
{:else}
-
+
-
+
{#each chatList as chat (chat.id)}
-
+
{
event.preventDefault();
@@ -267,7 +266,9 @@
>
{chat?.title}
-
+
{$i18n.t(
dayjs(chat?.updated_at * 1000).calendar(null, {
sameDay: '[Today]',
@@ -279,10 +280,10 @@
})
)}
-
+
-
+
{#if query === ''}