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);
|
setIsReplyOpen(true);
|
||||||
setSelectedShortCid(thread.shortCid);
|
setSelectedShortCid(thread.shortCid);
|
||||||
setSelectedParentCid(thread.cid);
|
setSelectedParentCid(thread.cid);
|
||||||
|
setSelectedAddress(thread.subplebbitAddress);
|
||||||
}} title="Reply to this post">{thread.shortCid}
|
}} title="Reply to this post">{thread.shortCid}
|
||||||
</Link>
|
</Link>
|
||||||
p/
|
p/
|
||||||
@@ -544,6 +545,7 @@ const Subscriptions = () => {
|
|||||||
setIsReplyOpen(true);
|
setIsReplyOpen(true);
|
||||||
setSelectedShortCid(reply.shortCid);
|
setSelectedShortCid(reply.shortCid);
|
||||||
setSelectedParentCid(reply.cid);
|
setSelectedParentCid(reply.cid);
|
||||||
|
setSelectedAddress(thread.subplebbitAddress);
|
||||||
}} title="Reply to this post">{reply.shortCid}</Link>
|
}} title="Reply to this post">{reply.shortCid}</Link>
|
||||||
) : (
|
) : (
|
||||||
<span key="pending" style={{color: 'red', fontWeight: '700'}}>Pending</span>
|
<span key="pending" style={{color: 'red', fontWeight: '700'}}>Pending</span>
|
||||||
@@ -761,6 +763,7 @@ const Subscriptions = () => {
|
|||||||
setIsReplyOpen(true);
|
setIsReplyOpen(true);
|
||||||
setSelectedShortCid(thread.shortCid);
|
setSelectedShortCid(thread.shortCid);
|
||||||
setSelectedParentCid(thread.cid);
|
setSelectedParentCid(thread.cid);
|
||||||
|
setSelectedAddress(thread.subplebbitAddress);
|
||||||
}} title="Reply to this post">{thread.shortCid}
|
}} title="Reply to this post">{thread.shortCid}
|
||||||
</Link>
|
</Link>
|
||||||
</span>
|
</span>
|
||||||
@@ -927,6 +930,7 @@ const Subscriptions = () => {
|
|||||||
setIsReplyOpen(true);
|
setIsReplyOpen(true);
|
||||||
setSelectedShortCid(reply.shortCid);
|
setSelectedShortCid(reply.shortCid);
|
||||||
setSelectedParentCid(reply.cid);
|
setSelectedParentCid(reply.cid);
|
||||||
|
setSelectedAddress(thread.subplebbitAddress);
|
||||||
}} title="Reply to this post">{reply.shortCid}
|
}} title="Reply to this post">{reply.shortCid}
|
||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user