From a30ac454b2ceb381c50f5b9323e25817d784a476 Mon Sep 17 00:00:00 2001 From: Sasha Sorokin <10401817+Brawaru@users.noreply.github.com> Date: Mon, 25 Oct 2021 21:32:28 +0700 Subject: [Glitch] Split context for filter bar and unread markers Port 11d4f9eefc7b40df84baceff9b2e0747887b23ec to glitch-soc Signed-off-by: Claire --- .../features/notifications/components/column_settings.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'app/javascript/flavours/glitch') diff --git a/app/javascript/flavours/glitch/features/notifications/components/column_settings.js b/app/javascript/flavours/glitch/features/notifications/components/column_settings.js index c01a21e3b..95250c6ed 100644 --- a/app/javascript/flavours/glitch/features/notifications/components/column_settings.js +++ b/app/javascript/flavours/glitch/features/notifications/components/column_settings.js @@ -27,11 +27,12 @@ export default class ColumnSettings extends React.PureComponent { render () { const { settings, pushSettings, onChange, onClear, alertsEnabled, browserSupport, browserPermission, onRequestNotificationPermission } = this.props; - const filterShowStr = ; + const unreadMarkersShowStr = ; + const filterBarShowStr = ; const filterAdvancedStr = ; - const alertStr = ; - const showStr = ; - const soundStr = ; + const alertStr = ; + const showStr = ; + const soundStr = ; const showPushSettings = pushSettings.get('browserSupport') && pushSettings.get('isSubscribed'); const pushStr = showPushSettings && ; @@ -58,11 +59,11 @@ export default class ColumnSettings extends React.PureComponent {
- +
- +
@@ -72,7 +73,7 @@ export default class ColumnSettings extends React.PureComponent {
- +
-- cgit