mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-18 02:28:08 +00:00
[Glitch] Change "Pin on profile" to "Feature on profile" for posts in web UI
Port 49b6a49c76 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -46,10 +46,7 @@ const makeMapStateToProps = () => {
|
||||
let account = undefined;
|
||||
let prepend = undefined;
|
||||
|
||||
if (props.featured && status) {
|
||||
account = status.get('account');
|
||||
prepend = 'featured';
|
||||
} else if (reblogStatus !== null && typeof reblogStatus === 'object') {
|
||||
if (reblogStatus !== null && typeof reblogStatus === 'object') {
|
||||
account = status.get('account');
|
||||
status = reblogStatus;
|
||||
prepend = 'reblogged_by';
|
||||
|
||||
Reference in New Issue
Block a user