Merge branch 'refactor-allFediverse' into 'develop'
Refactor "All Fediverse" setting See merge request gab/social/gab-social!25
This commit is contained in:
commit
cab7181b5b
@ -41,11 +41,6 @@ class CommunityTimeline extends React.PureComponent {
|
|||||||
router: PropTypes.object,
|
router: PropTypes.object,
|
||||||
};
|
};
|
||||||
|
|
||||||
static defaultProps = {
|
|
||||||
onlyMedia: false,
|
|
||||||
allFediverse: false,
|
|
||||||
};
|
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
dispatch: PropTypes.func.isRequired,
|
dispatch: PropTypes.func.isRequired,
|
||||||
intl: PropTypes.object.isRequired,
|
intl: PropTypes.object.isRequired,
|
||||||
|
@ -57,6 +57,10 @@ const initialState = ImmutableMap({
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
community: ImmutableMap({
|
community: ImmutableMap({
|
||||||
|
other: ImmutableMap({
|
||||||
|
allFediverse: false,
|
||||||
|
onlyMedia: false,
|
||||||
|
}),
|
||||||
regex: ImmutableMap({
|
regex: ImmutableMap({
|
||||||
body: '',
|
body: '',
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user