토너먼트 하이라이트와 토너먼트 액티브를 따로 변수로 저장

This commit is contained in:
2022-03-16 23:10:54 -07:00
parent 6782f2f01f
commit c6cbae145e
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ function commandButton(array $opts = [])
$showSecret = false;
$permission = checkSecretPermission($me);
$btnClassForTournament = $opts['btnClass'];
if ($opts['isTournamentActive']) {
if ($opts['isTournamentApplicationOpen']) {
if ($btnClassForTournament != 'dropdown-item') {
$btnClassForTournament = 'toolbarButton2';
}