2025-11-07 11:26:39 +01:00

51 lines
1.6 KiB
Diff

Index: EFB.js
===================================================================
--- EFB.js
+++ EFB.js
@@ -40035,11 +40035,18 @@
),
/* @__PURE__ */ (0, import_jsx_runtime13.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_runtime13.jsx)(
"button",
@@ -40537,8 +40544,13 @@
] })
] }) }) });
}
+ // 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_runtime15 = __toESM(require_jsx_runtime());
var routes = {
@@ -40553,9 +40565,9 @@
button: {
title: "Payload",
icon: Weight
},
- page: PayloadPage
+ page: App
},
"/perf": {
button: {
title: "Perf",