parent
5fefd73229
commit
4084d14c97
@ -14,7 +14,7 @@ import MissingIndicator from 'gabsocial/components/missing_indicator';
|
|||||||
|
|
||||||
const mapStateToProps = (state, { params: { username } }) => {
|
const mapStateToProps = (state, { params: { username } }) => {
|
||||||
return {
|
return {
|
||||||
isMyAccount: (username.toLowercase() === meUsername.toLowerCase()),
|
isMyAccount: (username.toLowerCase() === meUsername.toLowerCase()),
|
||||||
statusIds: state.getIn(['status_lists', 'favourites', 'items']),
|
statusIds: state.getIn(['status_lists', 'favourites', 'items']),
|
||||||
isLoading: state.getIn(['status_lists', 'favourites', 'isLoading'], true),
|
isLoading: state.getIn(['status_lists', 'favourites', 'isLoading'], true),
|
||||||
hasMore: !!state.getIn(['status_lists', 'favourites', 'next']),
|
hasMore: !!state.getIn(['status_lists', 'favourites', 'next']),
|
||||||
|
@ -12,7 +12,7 @@ import MissingIndicator from 'gabsocial/components/missing_indicator';
|
|||||||
|
|
||||||
const mapStateToProps = (state, { params: { username } }) => {
|
const mapStateToProps = (state, { params: { username } }) => {
|
||||||
return {
|
return {
|
||||||
isMyAccount: (username.toLowercase() === meUsername.toLowerCase()),
|
isMyAccount: (username.toLowerCase() === meUsername.toLowerCase()),
|
||||||
statusIds: state.getIn(['status_lists', 'pins', 'items']),
|
statusIds: state.getIn(['status_lists', 'pins', 'items']),
|
||||||
hasMore: !!state.getIn(['status_lists', 'pins', 'next']),
|
hasMore: !!state.getIn(['status_lists', 'pins', 'next']),
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user