diff --git a/src/lib/components/layout/Sidebar/ArchivedChatsModal.svelte b/src/lib/components/layout/Sidebar/ArchivedChatsModal.svelte index b2ae11058..ec1e4b185 100644 --- a/src/lib/components/layout/Sidebar/ArchivedChatsModal.svelte +++ b/src/lib/components/layout/Sidebar/ArchivedChatsModal.svelte @@ -1,220 +1,252 @@ -
-
-
{$i18n.t('Archived Chats')}
- -
+
+
+
{$i18n.t('Archived Chats')}
+ +
-
-
-
-
- - - -
- -
-
-
-
- {#if chats.length > 0} -
-
-
- - - - - - - - - {#each chats.filter((c) => searchValue === '' || c.title - .toLowerCase() - .includes(searchValue.toLowerCase())) as chat, idx} - - +
+
+
+
+ + + +
+ +
+
+
+
+ {#if chats.length > 0} +
+
+
+
{$i18n.t('Name')} -
- -
- {chat.title} -
-
-
+ + + + + + + + {#each chats.filter((c) => searchValue === '' || c.title + .toLowerCase() + .includes(searchValue.toLowerCase())) as chat, idx} + + - + - - - {/each} - -
{$i18n.t('Name')} +
+ +
+ {chat.title} +
+
+
-
- - - +
+
+ + + - - - -
-
-
-
+ + + +
+ + + {/each} + + +
+
-
- -
-
- {:else} -
- {$i18n.t('You have no archived conversations.')} -
- {/if} -
- - + {$i18n.t('Unarchive All Archived Chats')} + + + { + unarchiveAllHandler(); + }} + /> + + + + + {:else} +
+ {$i18n.t('You have no archived conversations.')} +
+ {/if} + + +