|
|
@@ -64,6 +64,7 @@ const AdminLayout = dynamic(() => import('../../components/Layout/AdminLayout'),
|
|
|
// named export
|
|
|
const UserGroupPage = dynamic(() => import('../../components/Admin/UserGroup/UserGroupPage').then(mod => mod.UserGroupPage), { ssr: false });
|
|
|
const AuditLogManagement = dynamic(() => import('../../components/Admin/AuditLogManagement').then(mod => mod.AuditLogManagement), { ssr: false });
|
|
|
+const PluginsExtensionPageContents = dynamic(() => import('../../components/Admin/PluginsExtension/PluginsExtensionPageContents').then(mod => mod.PluginsExtensionPageContents), { ssr: false });
|
|
|
|
|
|
const pluginUtils = new PluginUtils();
|
|
|
|
|
|
@@ -181,6 +182,10 @@ const AdminMarkdownSettingsPage: NextPage<Props> = (props: Props) => {
|
|
|
title: t('audit_log_management.audit_log'),
|
|
|
component: <AuditLogManagement />,
|
|
|
},
|
|
|
+ 'plugins-extension': {
|
|
|
+ title: t('plugins_extension.title'),
|
|
|
+ component: <PluginsExtensionPageContents />,
|
|
|
+ },
|
|
|
};
|
|
|
|
|
|
const getTargetPageToRender = (pagesMap, keys): {title: string, component: JSX.Element} => {
|