| handleSelectAll((e.target as HTMLInputElement).checked)} /> | handleSort('title')}> Title {sortColumn === 'title' ? (sortDirection === 'asc' ? '↑' : '↓') : ''} | handleSort('last_modified')}> Last Modified {sortColumn === 'last_modified' ? (sortDirection === 'asc' ? '↑' : '↓') : ''} | handleSort('status')}> Status {sortColumn === 'status' ? (sortDirection === 'asc' ? '↑' : '↓') : ''} |
|---|---|---|---|
| handleSelectionChange(dashboard.id, (e.target as HTMLInputElement).checked)} /> | {dashboard.title} | {new Date(dashboard.last_modified).toLocaleDateString()} | {dashboard.status} |