diff --git a/client/src/components/Ship.vue b/client/src/components/Ship.vue index a3cf54b..15983be 100644 --- a/client/src/components/Ship.vue +++ b/client/src/components/Ship.vue @@ -25,7 +25,7 @@ function cycleSpeed() { } const speed = computed(() => SPEED_UNITS[prefs.value.speed as keyof typeof SPEED_UNITS]) -const name = computed(() => props.boat.name?.trim() || props.boat.callsign?.trim() || '-') +const name = computed(() => props.boat.shipname?.trim() || props.boat.callsign?.trim() || '-') const heading = computed(() => props.boat.heading ?? props.boat.course ?? 0) const speedVal = computed(() => speed.value.convert(props.boat.speed ?? 0)) const photoError = ref(false)