Skip to content

Commit 91a0888

Browse files
committed
Errbit | fixing repo tooltip when repo is still loading
1 parent 8546c4b commit 91a0888

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/repos/RepoTooltip.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const TooltipTitle = ({ repo }) => {
102102
</span>
103103
}
104104
{
105-
isNumber(repo?.summary?.active_mappings) &&
105+
isNumber(entity?.summary?.active_mappings) &&
106106
<span style={{marginLeft: '12px', cursor: 'pointer', display: 'flex', alignItems: 'center'}} onClick={() => history.push(url + 'mappings/')}>
107107
<MappingIcon fontSize='small' color='secondary' sx={{marginRight: '4px', width: '15px', height: '15px'}} />
108108
{entity.summary.active_mappings.toLocaleString()}

0 commit comments

Comments
 (0)