[Glitch] Fix pinned hashtag columns fully refreshing unprompted
Port ef53dcfd8c593655ac907e0c7f3c3018e3a91b72 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
2fb14cbb2b
commit
383445c977
@ -142,7 +142,7 @@ class HashtagTimeline extends PureComponent {
|
|||||||
const { params, local } = this.props;
|
const { params, local } = this.props;
|
||||||
const { id, tags } = prevProps.params;
|
const { id, tags } = prevProps.params;
|
||||||
|
|
||||||
if (id !== params.id || !isEqual(tags, params.tags) || !isEqual(local, params.local)) {
|
if (id !== params.id || !isEqual(tags, params.tags) || !isEqual(local, prevProps.local)) {
|
||||||
this._unload();
|
this._unload();
|
||||||
this._load();
|
this._load();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user