|
@@ -42,9 +42,6 @@
|
|
sortOrder = 'asc';
|
|
sortOrder = 'asc';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- $: {
|
|
|
|
- console.log(chats);
|
|
|
|
- }
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<Modal size="lg" bind:show>
|
|
<Modal size="lg" bind:show>
|
|
@@ -84,7 +81,7 @@
|
|
>
|
|
>
|
|
<tr>
|
|
<tr>
|
|
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('title')}>
|
|
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('title')}>
|
|
- {$i18n.t('Name')}
|
|
|
|
|
|
+ {$i18n.t('Title')}
|
|
{#if sortKey === 'title'}
|
|
{#if sortKey === 'title'}
|
|
{sortOrder === 'asc' ? '▲' : '▼'}
|
|
{sortOrder === 'asc' ? '▲' : '▼'}
|
|
{:else}
|
|
{:else}
|