2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-01-28 17:13:44 +00:00

[UI] Fix broken links (#11189)

This commit is contained in:
Oliver
2026-01-22 19:06:36 +11:00
committed by GitHub
parent 7f3c86163d
commit ec2bf23627
2 changed files with 3 additions and 2 deletions

View File

@@ -70,9 +70,9 @@ export function getNavTabs(user: UserStateProps): NavTab[] {
} }
export const docLinks = { 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/', 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/', developer: 'https://docs.inventree.org/en/latest/develop/contributing/',
faq: 'https://docs.inventree.org/en/latest/faq/', faq: 'https://docs.inventree.org/en/latest/faq/',
github: 'https://github.com/inventree/inventree', github: 'https://github.com/inventree/inventree',

View File

@@ -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).React = React;
(window as any).ReactDOM = ReactDOM; (window as any).ReactDOM = ReactDOM;
(window as any).ReactDOMClient = ReactDOMClient; (window as any).ReactDOMClient = ReactDOMClient;