Add btn to hide membership events from timeline
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -1,19 +1,26 @@
|
||||
import appDispatcher from '../dispatcher';
|
||||
import cons from '../state/cons';
|
||||
|
||||
function toggleMarkdown() {
|
||||
export function toggleMarkdown() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_MARKDOWN,
|
||||
});
|
||||
}
|
||||
|
||||
function togglePeopleDrawer() {
|
||||
export function togglePeopleDrawer() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_PEOPLE_DRAWER,
|
||||
});
|
||||
}
|
||||
|
||||
export {
|
||||
toggleMarkdown,
|
||||
togglePeopleDrawer,
|
||||
};
|
||||
export function toggleMembershipEvents() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_MEMBERSHIP_EVENT,
|
||||
});
|
||||
}
|
||||
|
||||
export function toggleNickAvatarEvents() {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.settings.TOGGLE_NICKAVATAR_EVENT,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user