|
|
@@ -32,19 +32,20 @@ const MenuLabel = ({ menu }: { menu: string }) => {
|
|
|
case 'user-groups': return <><span className="material-symbols-outlined me-1">group</span>{ t('user_group_management.user_group_management') }</>;
|
|
|
case 'audit-log': return <><span className="material-symbols-outlined me-1">feed</span>{ t('audit_log_management.audit_log')}</>;
|
|
|
case 'plugins': return <><span className="material-symbols-outlined me-1">extension</span>{ t('plugins.plugins')}</>;
|
|
|
- case 'ai-integration': return (
|
|
|
- <>{/* TODO: unify sizing of growi-custom-icons so that simplify code -- 2024.10.09 Yuki Takei */}
|
|
|
- <span
|
|
|
- className="growi-custom-icons d-inline-block me-1"
|
|
|
- style={{
|
|
|
- fontSize: '18px', width: '24px', height: '24px', lineHeight: '24px', verticalAlign: 'bottom', paddingLeft: '2px',
|
|
|
- }}
|
|
|
- >
|
|
|
- growi_ai
|
|
|
- </span>
|
|
|
- {t('ai_integration.ai_integration')}
|
|
|
- </>
|
|
|
- );
|
|
|
+ // Temporarily hiding
|
|
|
+ // case 'ai-integration': return (
|
|
|
+ // <>{/* TODO: unify sizing of growi-custom-icons so that simplify code -- 2024.10.09 Yuki Takei */}
|
|
|
+ // <span
|
|
|
+ // className="growi-custom-icons d-inline-block me-1"
|
|
|
+ // style={{
|
|
|
+ // fontSize: '18px', width: '24px', height: '24px', lineHeight: '24px', verticalAlign: 'bottom', paddingLeft: '2px',
|
|
|
+ // }}
|
|
|
+ // >
|
|
|
+ // growi_ai
|
|
|
+ // </span>
|
|
|
+ // {t('ai_integration.ai_integration')}
|
|
|
+ // </>
|
|
|
+ // );
|
|
|
case 'search': return <><span className="material-symbols-outlined me-1">search</span>{ t('full_text_search_management.full_text_search_management') }</>;
|
|
|
case 'cloud': return <><span className="material-symbols-outlined me-1">share</span>{ t('cloud_setting_management.to_cloud_settings')} </>;
|
|
|
default: return <><span className="material-symbols-outlined me-1">home</span>{ t('wiki_management_homepage') }</>;
|
|
|
@@ -119,7 +120,8 @@ export const AdminNavigation = (): JSX.Element => {
|
|
|
<MenuLink menu="user-groups" isListGroupItems={isListGroupItems} isActive={isActiveMenu(['/user-groups', 'user-group-detail'])} />
|
|
|
<MenuLink menu="audit-log" isListGroupItems={isListGroupItems} isActive={isActiveMenu('/audit-log')} />
|
|
|
<MenuLink menu="plugins" isListGroupItems={isListGroupItems} isActive={isActiveMenu('/plugins')} />
|
|
|
- <MenuLink menu="ai-integration" isListGroupItems={isListGroupItems} isActive={isActiveMenu('/ai-integration')} />
|
|
|
+ {/* Temporarily hiding */}
|
|
|
+ {/* <MenuLink menu="ai-integration" isListGroupItems={isListGroupItems} isActive={isActiveMenu('/aai-integration')} /> */}
|
|
|
<MenuLink menu="search" isListGroupItems={isListGroupItems} isActive={isActiveMenu('/search')} />
|
|
|
{growiCloudUri != null && growiAppIdForGrowiCloud != null
|
|
|
&& (
|
|
|
@@ -173,7 +175,8 @@ export const AdminNavigation = (): JSX.Element => {
|
|
|
{isActiveMenu('/audit-log') && <MenuLabel menu="audit-log" />}
|
|
|
{isActiveMenu('/plugins') && <MenuLabel menu="plugins" />}
|
|
|
{isActiveMenu('/data-transfer') && <MenuLabel menu="data-transfer" />}
|
|
|
- {isActiveMenu('/ai-integration') && <MenuLabel menu="ai-integration" />}
|
|
|
+ {/* Temporarily hiding */}
|
|
|
+ {/* {isActiveMenu('/ai-integration') && <MenuLabel menu="ai-integration" />} */}
|
|
|
{/* eslint-enable no-multi-spaces */}
|
|
|
</span>
|
|
|
</button>
|