diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-09-17 11:27:20 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-09-17 15:22:56 +0200 |
commit | a681980307441be386fdd36fd0846edb76c5ed53 (patch) | |
tree | 59fca1962c8abbd628645401e8a85ac12ef8bf74 /app/javascript/flavours/glitch/features/notifications/index.js | |
parent | 60eebc6cc4d62479b23c2148c76172c0b3458629 (diff) |
Submit timeline markers closer to the moment they change
Diffstat (limited to 'app/javascript/flavours/glitch/features/notifications/index.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/notifications/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/notifications/index.js b/app/javascript/flavours/glitch/features/notifications/index.js index d53fae350..681323860 100644 --- a/app/javascript/flavours/glitch/features/notifications/index.js +++ b/app/javascript/flavours/glitch/features/notifications/index.js @@ -15,6 +15,7 @@ import { markNotificationsAsRead, } from 'flavours/glitch/actions/notifications'; import { addColumn, removeColumn, moveColumn } from 'flavours/glitch/actions/columns'; +import { submitMarkers } from 'flavours/glitch/actions/markers'; import NotificationContainer from './containers/notification_container'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ColumnSettingsContainer from './containers/column_settings_container'; @@ -70,6 +71,7 @@ const mapDispatchToProps = dispatch => ({ }, onMarkAsRead() { dispatch(markNotificationsAsRead()); + dispatch(submitMarkers()); }, onMount() { dispatch(mountNotifications()); |