[Glitch] Collection accounts editor: Show info badge on accounts that haven't posted in over a week
Port 3d33294870 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
c16cbb98e5
commit
29e6db98f2
3 files changed
+48
-1
No files matched your search
@@ -74,6 +74,7 @@ interface AccountProps {
|
||||
defaultAction?: 'block' | 'mute';
|
||||
withBio?: boolean;
|
||||
withMenu?: boolean;
|
||||
extraAccountInfo?: React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
@@ -85,6 +86,7 @@ export const Account: React.FC<AccountProps> = ({
|
||||
defaultAction,
|
||||
withBio,
|
||||
withMenu = true,
|
||||
extraAccountInfo,
|
||||
children,
|
||||
}) => {
|
||||
const intl = useIntl();
|
||||
@@ -349,6 +351,8 @@ export const Account: React.FC<AccountProps> = ({
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
|
||||
{extraAccountInfo}
|
||||
</div>
|
||||
|
||||
{!minimal && (
|
||||
|
||||
Reference in new issue
Block a user