2025-08-29 19:02:42 +02:00

45 lines
2.0 KiB
Diff

diff --git a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js
index 0904cc9..d2bcd02 100644
--- a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js
+++ b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js
@@ -42333,9 +42333,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)(
@@ -42842,6 +42849,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
] }) }) });
}
+ // Exports for add. script
+ window.reactExports = __toESM(require_react());
+ window.jsxRuntimeExports = __toESM(require_jsx_runtime());
+ window.useSelector = useSelector
+
// src/components/Router.tsx
init_common();
var import_jsx_runtime14 = __toESM(require_jsx_runtime());
@@ -42858,7 +42870,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
title: "Payload",
icon: faWeightHanging
},
- page: PayloadPage
+ page: App
},
"/perf": {
button: {