2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-03-11 22:54:17 +00:00

[UI] Fix broken links (#11189) (#11191)

(cherry picked from commit ec2bf23627)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot]
2026-01-22 21:39:38 +11:00
committed by GitHub
parent 9256a88630
commit ec8c2d0964
2 changed files with 3 additions and 2 deletions

View File

@@ -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',

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