From 1c71abc5de985bf5a9d596a7c18c0aa2988b6579 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 25 Apr 2025 17:11:59 +0200 Subject: [PATCH] [Glitch] Change "Pin on profile" to "Feature on profile" for posts in web UI Port 49b6a49c76caaa754c5a5e8d60203409eb2ced9f to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/components/status_prepend.jsx | 4 ---- .../flavours/glitch/containers/status_container.js | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status_prepend.jsx b/app/javascript/flavours/glitch/components/status_prepend.jsx index 7ed5416d38..60dd0a4ce7 100644 --- a/app/javascript/flavours/glitch/components/status_prepend.jsx +++ b/app/javascript/flavours/glitch/components/status_prepend.jsx @@ -45,10 +45,6 @@ export default class StatusPrepend extends PureComponent { ); switch (type) { - case 'featured': - return ( - - ); case 'reblogged_by': return ( { 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';