Skip to content

Commit 34c41f3

Browse files
committed
peterson-implement-no-badges-found-message
1 parent c9ac7da commit 34c41f3

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/components/UserProfile/AssignBadgePopup.jsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,13 @@ function AssignBadgePopup(props) {
100100
<div style={{ overflowY: 'scroll', height: '75vh' }}>
101101
{!isLoadingBadge && (props.isTableOpen ?? filteredBadges.length > 0) ? (
102102
<Table data-testid="test-badgeResults" className={darkMode ? 'text-light' : ''}>
103-
<thead>
103+
<thead
104+
style={
105+
darkMode
106+
? { backgroundColor: '#1c2541', color: '#fff' }
107+
: { backgroundColor: '#f0f8ff', color: 'black' }
108+
}
109+
>
104110
<tr>
105111
<th>Badge</th>
106112
<th>Name</th>
@@ -139,7 +145,7 @@ function AssignBadgePopup(props) {
139145
Loading Badges...
140146
</h3>
141147

142-
<Spinner color="primary"/>
148+
<Spinner color="primary" />
143149
</div>
144150
) : (
145151
!isLoadingBadge &&

0 commit comments

Comments
 (0)