This commit is contained in:
2025-07-03 09:48:54 +02:00
parent 80cb726501
commit 93c7815d96
12 changed files with 43101 additions and 30 deletions
@@ -2,7 +2,7 @@ import { FC, useEffect, useState } from 'react';
import { GSX_SERVICE_CALLED, GSX_SERVICE_FINISHED } from '../../constants';
import { WASMDataF } from '../../types/WASMData';
import { LoadingState, SimBrief } from '../../types/general';
import { ImportFlightPlan } from '../../utils/TFDISBImport';
import { ImportFlightPlanKH } from '../../utils/TFDISBImport';
import { CoherentCallSBEntryF, inRangeOf, loadAircraft, unloadAircraft } from '../../utils/utils';
import CGSelect from '../CGSelect/CGSelect';
import ActionBar from '../actionbar/ActionBar';
@@ -59,7 +59,7 @@ const SBEntryF: FC<SBEntryProps> = ({ WASMData, loadingState, username, setLoadi
const handleSB = async () => {
setSBInFlight(true);
const SBResponse = await ImportFlightPlan(
const SBResponse = await ImportFlightPlanKH(
username,
WASMData.limits.maxZFW,
WASMData.limits.maxTOW,
@@ -2,7 +2,7 @@ import { FC, useEffect, useState } from 'react';
import { GSX_SERVICE_CALLED, GSX_SERVICE_FINISHED } from '../../constants';
import { WASMDataPax } from '../../types/WASMData';
import { LoadingState, SimBrief } from '../../types/general';
import { ImportFlightPlan } from '../../utils/TFDISBImport';
import { ImportFlightPlanKH } from '../../utils/TFDISBImport';
import { CoherentCallSBEntryPax, inRangeOf, loadAircraft, unloadAircraft } from '../../utils/utils';
import CGSelect from '../CGSelect/CGSelect';
import ActionBar from '../actionbar/ActionBar';
@@ -59,7 +59,7 @@ const SBEntryPax: FC<SBEntryProps> = ({ WASMData, loadingState, username, setLoa
const handleSB = async () => {
setSBInFlight(true);
const SBResponse = await ImportFlightPlan(
const SBResponse = await ImportFlightPlanKH(
username,
WASMData.limits.maxZFW,
WASMData.limits.maxTOW,