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:
@@ -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',
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user