Browse Source

Changed column header text to match property.
Removed debugging code.

rdavis 11 tháng trước cách đây
mục cha
commit
26575c5086

+ 1 - 4
src/lib/components/admin/UserChatsModal.svelte

@@ -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}