mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 02:35:48 +03:00
EventIndexPanel: Shorten a overly long line.
This commit is contained in:
parent
ddea7415c7
commit
cd225943ea
1 changed files with 7 additions and 1 deletions
|
@ -142,6 +142,12 @@ export default class EventIndexPanel extends React.Component {
|
|||
</div>
|
||||
);
|
||||
} else if (EventIndexPeg.platformHasSupport() && !EventIndexPeg.supportIsInstalled()) {
|
||||
const nativeLink = (
|
||||
"https://github.com/vector-im/riot-web/blob/develop/" +
|
||||
"docs/native-node-modules.md#" +
|
||||
"adding-seshat-for-search-in-e2e-encrypted-rooms"
|
||||
);
|
||||
|
||||
eventIndexingSettings = (
|
||||
<div>
|
||||
{
|
||||
|
@ -151,7 +157,7 @@ export default class EventIndexPanel extends React.Component {
|
|||
"with <nativeLink>search components added</nativeLink>.",
|
||||
{},
|
||||
{
|
||||
'nativeLink': (sub) => <a href="https://github.com/vector-im/riot-web/blob/develop/docs/native-node-modules.md#adding-seshat-for-search-in-e2e-encrypted-rooms">{sub}</a>,
|
||||
'nativeLink': (sub) => <a href={nativeLink}>{sub}</a>,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue