feat: enhance schedule import functionality with support for day sections and restrictions
This commit is contained in:
@@ -173,7 +173,7 @@ export default function ScheduleImportPage() {
|
||||
</label>
|
||||
{mappings[route.id] && <p className="text-sm text-gray-600">В этот маршрут попадут времена из строки «{mappings[route.id]}».</p>}
|
||||
{inspection.source.rows.filter(row => row.stopName === mappings[route.id]).map(row => <details key={row.key}>
|
||||
<summary className="text-sm text-gray-600 cursor-pointer">{row.days.map(day => DAY_LABELS[day]).join(', ')} · {row.times.length} времён</summary>
|
||||
<summary className="text-sm text-gray-600 cursor-pointer">{row.dayLabel || row.days.map(day => DAY_LABELS[day]).join(', ')} · {row.times.length} времён</summary>
|
||||
<p className="text-sm text-gray-600 mt-2 leading-7">{row.rawTimes}</p>
|
||||
</details>)}
|
||||
</div>)}
|
||||
|
||||
Reference in New Issue
Block a user