fix(tours): keep the generated entity byte-identical and the strict baseline flat after the rebase onto dev

This commit is contained in:
Maurice
2026-10-14 08:49:47 +02:00
parent dd43999f1f
commit 4c487ceefa
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -797,6 +797,7 @@ function PlannerWaypointMarker({
useEffect(() => {
if (!marker || !onMove) return
const element = marker.getElement()
if (!element) return
return wirePlannerWaypointDrag({
element,
initial: { lat: point.lat, lng: point.lng },
@@ -76,7 +76,7 @@ function Fact({
export default function TourDayRowFacts({ tour, mobile = false }: { tour: TourListItem; mobile?: boolean }) {
const { t } = useTranslation();
const unit = useSettingsStore((state) => state.settings.distance_unit);
const unit = useSettingsStore((state) => state.settings.distance_unit) || 'metric';
const times = tourPlannedTimes(tour);
const facts: Array<{ icon: LucideIcon; value: string; label: string; testId: string }> = [];
const add = (icon: LucideIcon, value: string, label: string, testId: string) =>
+1 -1
View File
@@ -1,8 +1,8 @@
import { Collection, EntityRepositoryType, type Opt, PrimaryKeyProp, type Ref, defineEntity, p } from '@mikro-orm/core';
import { ToursRepository } from '../repositories/Tours.repository';
import { Places } from './Places.entity';
import { TourTypes } from './TourTypes.entity';
import { TourWaypoints } from './TourWaypoints.entity';
import { Collection, EntityRepositoryType, type Opt, PrimaryKeyProp, type Ref, defineEntity, p } from '@mikro-orm/core';
export class Tours {
[EntityRepositoryType]?: ToursRepository;