Skip to content

Commit

Permalink
Merge pull request #174 from Koniverse/koni/dev/issue-222
Browse files Browse the repository at this point in the history
[issue-122] Mythical Telegram App - Fix some bugs related to Leaderboard data
  • Loading branch information
lw-cdm authored Dec 12, 2024
2 parents 8414ac8 + 202750e commit a5b08ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const Component = ({ className, filterItems, handleCancel, handleReset, onConfir
{!!options[index + 1] && checkboxContent(options[index + 1], optionLabel as FilterOption, index + 1)}
</div>
)
: <></>
: null
))
}
</div>
Expand Down Expand Up @@ -234,7 +234,7 @@ export const ToolFiltersModal = styled(Component)<ThemeProps>(({ theme: { extend
'.ant-checkbox-checked.ant-checkbox-checked': {
backgroundImage: 'url("/images/mythical/check-selected.png")',
backgroundPosition: 'center center',
backgroundSize: '100% 24px',
backgroundSize: '100% 24px'
// filter: 'drop-shadow(0.97px 0.97px 0px #000)'
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export const GameAccountListArea = ({ isLoading, leaderboardPersonItems }: Props
return [];
}

const telegramAccountName = mineAccount.info.firstName && mineAccount.info.lastName
? `${mineAccount.info.firstName} ${mineAccount.info.lastName}`
const telegramAccountName = (mineAccount?.info.firstName || mineAccount?.info.lastName)
? `${mineAccount?.info.firstName || ''} ${mineAccount?.info.lastName || ''}`.trim()
: mineAccount.info.telegramUsername;

return [{
Expand Down

0 comments on commit a5b08ad

Please sign in to comment.