高
@@ -176,7 +176,7 @@ exports[`test base/home/AIBanner should match snapshot and render metrics and ac
中
@@ -186,7 +186,7 @@ exports[`test base/home/AIBanner should match snapshot and render metrics and ac
class="right-section"
>
- {showPerformanceEngineButton && (
-
-
- {t('dmsHome.aiBanner.aiPerformanceEngine')}
-
-
-
- )}
+ {showPerformanceEngineButton &&
+ checkPagePermission(PERMISSIONS.PAGES.SQLE.SQL_OPTIMIZATION) && (
+
+
+ {t('dmsHome.aiBanner.aiPerformanceEngine')}
+
+
+
+ )}
{showSmartCorrectionButton && (
- {
{t('dmsHome.aiBanner.aiSmartCorrection')}
-
+
)}