Merge pull request #18308 from win20/navigation-panel-settings-icon-issues

Fix issues with settings icon in nav panel
This commit is contained in:
Maurício Meneghini Fauth 2023-04-12 16:17:48 -03:00 committed by GitHub
commit 8c7c87f524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -73,5 +73,11 @@ class TwoFactorController extends AbstractController
'backends' => $twoFactor->getAllBackends(),
'missing' => $twoFactor->getMissingDeps(),
]);
if ($this->response->isAjax()) {
$this->response->addJSON('disableNaviSettings', true);
} else {
define('PMA_DISABLE_NAVI_SETTINGS', true);
}
}
}

View File

@ -884,7 +884,7 @@ textarea#partitiondefinition {
// for elements that should be revealed only via js
.hide {
display: none;
display: none !important;
}
#list_server {