@@ -1,5 +1,7 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { makeGetReport } from 'flavours/glitch/selectors';
|
||||
|
||||
import AdminReport from '../components/admin_report';
|
||||
|
||||
const mapStateToProps = (state, { notification }) => {
|
||||
|
@@ -1,11 +1,15 @@
|
||||
import { connect } from 'react-redux';
|
||||
import { defineMessages, injectIntl } from 'react-intl';
|
||||
import ColumnSettings from '../components/column_settings';
|
||||
import { changeSetting } from 'flavours/glitch/actions/settings';
|
||||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { showAlert } from 'flavours/glitch/actions/alerts';
|
||||
import { openModal } from 'flavours/glitch/actions/modal';
|
||||
import { setFilter, clearNotifications, requestBrowserPermission } from 'flavours/glitch/actions/notifications';
|
||||
import { changeAlerts as changePushNotifications } from 'flavours/glitch/actions/push_notifications';
|
||||
import { openModal } from 'flavours/glitch/actions/modal';
|
||||
import { showAlert } from 'flavours/glitch/actions/alerts';
|
||||
import { changeSetting } from 'flavours/glitch/actions/settings';
|
||||
|
||||
import ColumnSettings from '../components/column_settings';
|
||||
|
||||
|
||||
const messages = defineMessages({
|
||||
clearMessage: { id: 'notifications.clear_confirmation', defaultMessage: 'Are you sure you want to permanently clear all your notifications?' },
|
||||
|
@@ -1,6 +1,7 @@
|
||||
import { connect } from 'react-redux';
|
||||
import FilterBar from '../components/filter_bar';
|
||||
|
||||
import { setFilter } from '../../../actions/notifications';
|
||||
import FilterBar from '../components/filter_bar';
|
||||
|
||||
const makeMapStateToProps = state => ({
|
||||
selectedFilter: state.getIn(['settings', 'notifications', 'quickFilter', 'active']),
|
||||
|
@@ -1,7 +1,9 @@
|
||||
import { connect } from 'react-redux';
|
||||
import FollowRequest from '../components/follow_request';
|
||||
|
||||
import { authorizeFollowRequest, rejectFollowRequest } from 'flavours/glitch/actions/accounts';
|
||||
|
||||
import FollowRequest from '../components/follow_request';
|
||||
|
||||
const mapDispatchToProps = (dispatch, { account }) => ({
|
||||
onAuthorize () {
|
||||
dispatch(authorizeFollowRequest(account.get('id')));
|
||||
|
@@ -2,9 +2,10 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
// Our imports.
|
||||
import { makeGetNotification } from 'flavours/glitch/selectors';
|
||||
import Notification from '../components/notification';
|
||||
import { mentionCompose } from 'flavours/glitch/actions/compose';
|
||||
import { makeGetNotification } from 'flavours/glitch/selectors';
|
||||
|
||||
import Notification from '../components/notification';
|
||||
|
||||
const makeMapStateToProps = () => {
|
||||
const getNotification = makeGetNotification();
|
||||
|
@@ -2,9 +2,10 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
// Our imports.
|
||||
import NotificationOverlay from '../components/overlay';
|
||||
import { markNotificationForDelete } from 'flavours/glitch/actions/notifications';
|
||||
|
||||
import NotificationOverlay from '../components/overlay';
|
||||
|
||||
const mapDispatchToProps = dispatch => ({
|
||||
onMarkForDelete(id, yes) {
|
||||
dispatch(markNotificationForDelete(id, yes));
|
||||
|
Reference in New Issue
Block a user