diff --git a/src/frontend/src/defaults/links.tsx b/src/frontend/src/defaults/links.tsx index 350bcd7d1e..9198dad1c8 100644 --- a/src/frontend/src/defaults/links.tsx +++ b/src/frontend/src/defaults/links.tsx @@ -70,9 +70,9 @@ export function getNavTabs(user: UserStateProps): NavTab[] { } export const docLinks = { - app: 'https://docs.inventree.org/app/', + app: 'https://docs.inventree.org/en/latest/app/', getting_started: 'https://docs.inventree.org/en/latest/start/', - api: 'https://docs.inventree.org/en/latest/api/api/', + api: 'https://docs.inventree.org/en/latest/api/', developer: 'https://docs.inventree.org/en/latest/develop/contributing/', faq: 'https://docs.inventree.org/en/latest/faq/', github: 'https://github.com/inventree/inventree', diff --git a/src/frontend/src/main.tsx b/src/frontend/src/main.tsx index 6dcea1de6a..d5fc90bd52 100644 --- a/src/frontend/src/main.tsx +++ b/src/frontend/src/main.tsx @@ -107,6 +107,7 @@ if (window.INVENTREE_SETTINGS.sentry_dsn) { }); } +// Expose global objects for the plugin system (window as any).React = React; (window as any).ReactDOM = ReactDOM; (window as any).ReactDOMClient = ReactDOMClient;