diff --git a/starpilot/system/the_galaxy/assets/mobile/js/views/Recordings.js b/starpilot/system/the_galaxy/assets/mobile/js/views/Recordings.js index b4312c6bee..6037e43134 100644 --- a/starpilot/system/the_galaxy/assets/mobile/js/views/Recordings.js +++ b/starpilot/system/the_galaxy/assets/mobile/js/views/Recordings.js @@ -38,11 +38,6 @@ function formatScreenDate(dateString) { return `${month} ${day}${getOrdinalSuffix(day)}, ${year} - ${hour}:${minuteStr}${ampm}` } -function routeIdShort(route) { - const name = String(route?.name || "") - return name.split("--").slice(1).join("--") || name -} - function localDeviceUrl(ip, route = "/") { const raw = String(ip || "").trim() if (!raw || raw === "unknown") return "" @@ -99,7 +94,6 @@ export const Recordings = { methods: { fmtDuration, formatBytes, - routeIdShort, setSub(key) { this.sub = key === "screen" ? "screen" : "routes" if (this.sub === "screen" && !this.recordings.length && !this.screenLoading) this.loadScreenRecordings() @@ -392,7 +386,7 @@ export const Recordings = {
No routes found.
- {{ r.isCustomName ? r.displayName : (r.displayDate + ' · ' + routeIdShort(r)) }} + {{ r.displayName }} {{ fmtDuration(r.approxDurationSeconds) }} · {{ r.segmentCount }} segments Preserved