[COMPONENT][Conversation] Use Router::url's _fragment for anchor
This commit is contained in:
parent
54b9ec48b4
commit
33e1d3eb20
|
@ -121,7 +121,8 @@ class Conversation extends Component
|
|||
'conversation_reply_to',
|
||||
[
|
||||
'reply_to_id' => $note->getId(),
|
||||
'from' => $from . '#note-anchor-' . $note->getId(),
|
||||
'from' => $from,
|
||||
'_fragment' => 'note-anchor-' . $note->getId(),
|
||||
],
|
||||
Router::ABSOLUTE_PATH,
|
||||
);
|
||||
|
@ -267,7 +268,8 @@ class Conversation extends Component
|
|||
'conversation_mute',
|
||||
[
|
||||
'conversation_id' => $note->getConversationId(),
|
||||
'from' => $from . '#note-anchor-' . $note->getId(),
|
||||
'from' => $from,
|
||||
'_fragment' => 'note-anchor-' . $note->getId(),
|
||||
],
|
||||
Router::ABSOLUTE_PATH,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user