mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Disable Posts link on Account statuses page
This commit is contained in:
parent
95d919bd5a
commit
c6957f6967
1 changed files with 22 additions and 12 deletions
|
@ -227,6 +227,15 @@ function AccountInfo({
|
|||
</div>
|
||||
)}
|
||||
<p class="stats">
|
||||
{standalone ? (
|
||||
<span>
|
||||
Posts
|
||||
<br />
|
||||
<b title={statusesCount}>
|
||||
{shortenNumber(statusesCount)}
|
||||
</b>{' '}
|
||||
</span>
|
||||
) : (
|
||||
<Link
|
||||
to={instance ? `/${instance}/a/${id}` : `/a/${id}`}
|
||||
onClick={() => {
|
||||
|
@ -239,6 +248,7 @@ function AccountInfo({
|
|||
{shortenNumber(statusesCount)}
|
||||
</b>{' '}
|
||||
</Link>
|
||||
)}
|
||||
<span>
|
||||
Following
|
||||
<br />
|
||||
|
|
Loading…
Reference in a new issue