From 407e2ea90a438be488ef9acb2fd5144ffce19b4a Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Mon, 15 Jun 2026 01:03:31 -0500 Subject: [PATCH] refreshing --- starpilot/system/the_pond/assets/components/router.js | 2 +- .../the_pond/assets/components/tools/device_settings.js | 3 ++- starpilot/system/the_pond/templates/index.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/starpilot/system/the_pond/assets/components/router.js b/starpilot/system/the_pond/assets/components/router.js index f39aab987..bbbc4b108 100644 --- a/starpilot/system/the_pond/assets/components/router.js +++ b/starpilot/system/the_pond/assets/components/router.js @@ -1,7 +1,7 @@ import { html, reactive } from "/assets/vendor/arrow-core.js" import { createBrowserHistory, createRouter } from "/assets/vendor/remix-router-1.3.1.js" import { hideSidebar } from "/assets/js/utils.js" -import { DeviceSettings } from "/assets/components/tools/device_settings.js?v=favorite-slots-4" +import { DeviceSettings } from "/assets/components/tools/device_settings.js?v=favorite-slots-5" import { ErrorLogs } from "/assets/components/tools/error_logs.js" import { VehicleFeatures } from "/assets/components/tools/vehicle_features.js" import { GalaxyPairing } from "/assets/components/tools/galaxy.js" diff --git a/starpilot/system/the_pond/assets/components/tools/device_settings.js b/starpilot/system/the_pond/assets/components/tools/device_settings.js index 9bf120f59..cea58f9b0 100644 --- a/starpilot/system/the_pond/assets/components/tools/device_settings.js +++ b/starpilot/system/the_pond/assets/components/tools/device_settings.js @@ -286,7 +286,7 @@ async function fetchLayoutAndParams() { state.loadingValues = true try { - const layoutRes = await fetch("/assets/components/tools/device_settings_layout.json?v=favorite-slots-4", { cache: "no-store" }) + const layoutRes = await fetch("/assets/components/tools/device_settings_layout.json?v=favorite-slots-5", { cache: "no-store" }) const rawLayoutData = await layoutRes.json() const layoutData = rawLayoutData @@ -537,6 +537,7 @@ async function saveFavoriteSlots(slots) { state.values = { ...state.values, ...state.favoriteValues, StarPilotFavoriteSlots: state.favoriteSlots } showParamSnackbar(data.message || "Favorite slots saved.") scheduleSyncInputs() + window.setTimeout(() => window.location.reload(), 250) } else { state.favoriteSlots = previousSlots showParamSnackbar(data.error || "Failed to save favorite slots", "error") diff --git a/starpilot/system/the_pond/templates/index.html b/starpilot/system/the_pond/templates/index.html index 711b5ff44..0e891e58f 100644 --- a/starpilot/system/the_pond/templates/index.html +++ b/starpilot/system/the_pond/templates/index.html @@ -38,13 +38,13 @@ - +