Skip to content

Commit ef56b4e

Browse files
Remove 'Settings' link from empty panel and mobile view
1 parent 4e0b4fd commit ef56b4e

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

dist/dev/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/prod/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/NotificationsPopup/EmptyNotifications.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ const EmptyNotifications = ({ onClose, emptyTitle, emptyText }) => (
3030
<NotificationIconBig className={styles['big-icon-bell']} />
3131
<div className={styles['empty-title']}>{emptyTitle}</div>
3232
<div className={cn(styles.txt, styles['center-txt'])}>{emptyText}</div>
33+
{/*
34+
* Disabled until Settings page is ready
35+
*
3336
<span className={cn(styles['btn-empty-noti'])} role='button'>
34-
Notification Settings
37+
Check Your Notifications Settings
3538
</span>
39+
*/}
3640
</div>
3741
</>
3842
)

src/components/NotificationsPopup/NotificationList.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import moment from 'moment'
66
import { Link } from 'topcoder-react-utils'
77
import styles from './styles.module.scss'
88
import BackArrow from '../../assets/images/left-arrow.svg'
9-
import GearIcon from '../../assets/images/icon-settings-gear.svg'
9+
// import GearIcon from '../../assets/images/icon-settings-gear.svg'
1010
import TickIcon from '../../assets/images/icon-checkmark.svg'
1111
import NotificationIcon from '../../assets/images/icon-bell.svg'
1212

@@ -166,12 +166,16 @@ export default class NotificationList extends React.Component {
166166
>
167167
<TickIcon />
168168
</div>
169+
{/*
170+
* Disabled until Settings page is ready
171+
*
169172
<div
170173
role='button'
171174
className={styles['btn-setting']}
172175
>
173176
<GearIcon />
174177
</div>
178+
*/}
175179
</div>
176180
</div>
177181
<div className={styles['noti-body']}>

src/components/NotificationsPopup/styles.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@
487487
}
488488
.btn-tick {
489489
margin: auto 0px;
490-
margin-right: 20px;
490+
// margin-right: 20px;
491491
&.disabled {
492492
opacity: 0.50;
493493
}

0 commit comments

Comments
 (0)