mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix replying in subscriptions view
This commit is contained in:
@@ -416,6 +416,7 @@ const Subscriptions = () => {
|
||||
setIsReplyOpen(true);
|
||||
setSelectedShortCid(thread.shortCid);
|
||||
setSelectedParentCid(thread.cid);
|
||||
setSelectedAddress(thread.subplebbitAddress);
|
||||
}} title="Reply to this post">{thread.shortCid}
|
||||
</Link>
|
||||
p/
|
||||
@@ -544,6 +545,7 @@ const Subscriptions = () => {
|
||||
setIsReplyOpen(true);
|
||||
setSelectedShortCid(reply.shortCid);
|
||||
setSelectedParentCid(reply.cid);
|
||||
setSelectedAddress(thread.subplebbitAddress);
|
||||
}} title="Reply to this post">{reply.shortCid}</Link>
|
||||
) : (
|
||||
<span key="pending" style={{color: 'red', fontWeight: '700'}}>Pending</span>
|
||||
@@ -761,6 +763,7 @@ const Subscriptions = () => {
|
||||
setIsReplyOpen(true);
|
||||
setSelectedShortCid(thread.shortCid);
|
||||
setSelectedParentCid(thread.cid);
|
||||
setSelectedAddress(thread.subplebbitAddress);
|
||||
}} title="Reply to this post">{thread.shortCid}
|
||||
</Link>
|
||||
</span>
|
||||
@@ -927,6 +930,7 @@ const Subscriptions = () => {
|
||||
setIsReplyOpen(true);
|
||||
setSelectedShortCid(reply.shortCid);
|
||||
setSelectedParentCid(reply.cid);
|
||||
setSelectedAddress(thread.subplebbitAddress);
|
||||
}} title="Reply to this post">{reply.shortCid}
|
||||
</Link>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user