Skip to content

Commit

Permalink
Merge pull request #12 from actiontech/fix/conditional-compile-error
Browse files Browse the repository at this point in the history
[fix]: Conditional compile error with provision mode
  • Loading branch information
Rain-1214 authored Oct 20, 2023
2 parents c9be7d0 + 2116e95 commit f08cd07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/base/src/page/Nav/SideMenu/GlobalSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@ const GlobalSetting: React.FC<{
<div className="header">{t('dmsMenu.globalSettings.title')}</div>
<EmptyBox if={!isAdmin}>
<div className="content">
{/* IFTRUE_isSQLE */}
<div
className="content-item"
onClick={() => handleClickItem(`/sqle/rule`)}
>
<IconViewRule />
<span>{t('dmsMenu.globalSettings.viewRule')}</span>
</div>
{/* FITRUE_isSQLE */}
</div>
</EmptyBox>
<EmptyBox if={isAdmin}>
Expand Down

0 comments on commit f08cd07

Please sign in to comment.