Update patch

This commit is contained in:
Kilian Hofmann 2025-08-29 19:02:42 +02:00
parent fcfb674522
commit 4ad0f4e3d6
2 changed files with 19 additions and 7 deletions

View File

@ -1,8 +1,8 @@
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 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 a490abd..be2703b 100644 index 0904cc9..d2bcd02 100644
--- a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js --- 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 +++ b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js
@@ -42191,9 +42191,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}. @@ -42333,9 +42333,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)( /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
"button", "button",
{ {
@ -21,7 +21,7 @@ index a490abd..be2703b 100644
} }
), ),
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)( /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
@@ -42700,6 +42707,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}. @@ -42842,6 +42849,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
] }) }) }); ] }) }) });
} }
@ -33,7 +33,7 @@ index a490abd..be2703b 100644
// src/components/Router.tsx // src/components/Router.tsx
init_common(); init_common();
var import_jsx_runtime14 = __toESM(require_jsx_runtime()); var import_jsx_runtime14 = __toESM(require_jsx_runtime());
@@ -42716,7 +42728,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}. @@ -42858,7 +42870,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
title: "Payload", title: "Payload",
icon: faWeightHanging icon: faWeightHanging
}, },

View File

@ -42333,9 +42333,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)( /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
"button", "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", 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)( /* @__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 // src/components/Router.tsx
init_common(); init_common();
var import_jsx_runtime14 = __toESM(require_jsx_runtime()); 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", title: "Payload",
icon: faWeightHanging icon: faWeightHanging
}, },
page: PayloadPage page: App
}, },
"/perf": { "/perf": {
button: { button: {