修复 球局详情 满员状态不对问题
This commit is contained in:
@@ -20,9 +20,11 @@ function isFull(counts) {
|
||||
current_substitute_count,
|
||||
is_substitute_supported,
|
||||
} = counts;
|
||||
if (max_players === current_players) {
|
||||
|
||||
if (max_players === current_players &&is_substitute_supported === IsSubstituteSupported.NOTSUPPORT) {
|
||||
return true;
|
||||
} else if (is_substitute_supported === IsSubstituteSupported.SUPPORT) {
|
||||
}
|
||||
else if (max_players === current_players &&is_substitute_supported === IsSubstituteSupported.SUPPORT) {
|
||||
return max_substitute_players === current_substitute_count;
|
||||
}
|
||||
|
||||
@@ -111,6 +113,7 @@ export default function StickyButton(props) {
|
||||
is_substituting,
|
||||
waiting_start,
|
||||
} = user_action_status || {};
|
||||
|
||||
if (MATCH_STATUS.CANCELED === match_status) {
|
||||
return {
|
||||
text: "活动已取消",
|
||||
|
||||
Reference in New Issue
Block a user