2025-07-03 15:24:32 +02:00

31 lines
2.8 KiB
Diff

--- a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.js
+++ b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.js
@@ -42191,9 +42191,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
"button",
{
- onClick: loadPayload,
+ onClick: () => dispatch(
+ setRoute({
+ path: "/payload",
+ params: {
+ icao: simBrief.plan.origin.icao_code
+ }
+ })
+ ),
className: "middle none center rounded-lg bg-green-700 px-6 py-3 font-sans text-xs font-bold uppercase text-white shadow-md shadow-green-500/20 transition-all hover:shadow-lg hover:shadow-green-500/40 focus:opacity-[0.85] focus:shadow-none active:opacity-[0.85] active:shadow-none disabled:pointer-events-none disabled:opacity-50 disabled:shadow-none",
- children: "Set payload & fuel"
+ children: "Manage payload & fuel"
}
),
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
@@ -42716,7 +42723,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
title: "Payload",
icon: faWeightHanging
},
- page: PayloadPage
+ page: App
},
"/perf": {
button: {