Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(efb): troubleshooting page #9747

Merged
merged 10 commits into from
Jan 20, 2025
Prev Previous commit
Next Next commit
fix: use shared msfs2024 detect function
tracernz committed Jan 11, 2025
commit 41f24a72e91acb8ef7ee6488ba74a2a2768e95fb
Original file line number Diff line number Diff line change
@@ -7,12 +7,8 @@ import { SettingsPage } from '../Settings';
// @ts-ignore
import { useTroubleshooting } from '../../TroubleshootingContext';
import { AiracCycleFormatter, FacilityLoader } from '@microsoft/msfs-sdk';
import { AircraftGithubVersionChecker, BuildInfo } from 'shared/src';

// TODO merge navdata PR and use the proper function
function isMsfs2024() {
return (window.InputBar.MENU_BUTTON_A as any) === 'KEY_MENU_SR_VALID';
}
import { AircraftGithubVersionChecker, BuildInfo } from '../../../../../shared/src/AircraftGithubVersionChecker';
import { isMsfs2024 } from '../../../../../shared/src/MsfsDetect';

export const TroubleshootingPage = () => {
const errorLog = useTroubleshooting();