mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-10 01:56:33 +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,18 +227,28 @@ function AccountInfo({
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<p class="stats">
|
<p class="stats">
|
||||||
<Link
|
{standalone ? (
|
||||||
to={instance ? `/${instance}/a/${id}` : `/a/${id}`}
|
<span>
|
||||||
onClick={() => {
|
Posts
|
||||||
hideAllModals();
|
<br />
|
||||||
}}
|
<b title={statusesCount}>
|
||||||
>
|
{shortenNumber(statusesCount)}
|
||||||
Posts
|
</b>{' '}
|
||||||
<br />
|
</span>
|
||||||
<b title={statusesCount}>
|
) : (
|
||||||
{shortenNumber(statusesCount)}
|
<Link
|
||||||
</b>{' '}
|
to={instance ? `/${instance}/a/${id}` : `/a/${id}`}
|
||||||
</Link>
|
onClick={() => {
|
||||||
|
hideAllModals();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Posts
|
||||||
|
<br />
|
||||||
|
<b title={statusesCount}>
|
||||||
|
{shortenNumber(statusesCount)}
|
||||||
|
</b>{' '}
|
||||||
|
</Link>
|
||||||
|
)}
|
||||||
<span>
|
<span>
|
||||||
Following
|
Following
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in a new issue