Merge pull request #1716 from RaspAP/fix/multiple-configs

Fix for updated bootstrap5.3 btn class
This commit is contained in:
Bill Zimmerman 2024-12-17 16:56:17 -08:00 committed by GitHub
commit daa6bfd460
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@
if ($client == $conf_default) {
$btn_class = "active";
} else {
$btn_class = "disabled";
$btn_class = "";
}
$label = preg_replace('/_client$/','',pathinfo($client, PATHINFO_FILENAME));
$client = $label;