You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Fix bug where usage data link not visible when no cookie policy url
This commit is contained in:
@@ -76,7 +76,20 @@ export default class CookieBar extends React.Component {
|
|||||||
</a>
|
</a>
|
||||||
,
|
,
|
||||||
},
|
},
|
||||||
) : _t("Help improve Riot by sending usage data? This will use a cookie.") }
|
) : _t(
|
||||||
|
"Help improve Riot by sending <UsageDataLink>usage data</UsageDataLink>? " +
|
||||||
|
"This will use a cookie.",
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
'UsageDataLink': (sub) => <a
|
||||||
|
className="mx_MatrixToolbar_link"
|
||||||
|
href="javascript:;"
|
||||||
|
onClick={this.onUsageDataClicked}
|
||||||
|
>
|
||||||
|
{ sub }
|
||||||
|
</a>,
|
||||||
|
},
|
||||||
|
) }
|
||||||
</div>
|
</div>
|
||||||
<AccessibleButton element='button' className="mx_MatrixToolbar_action" onClick={this.onAccept}>
|
<AccessibleButton element='button' className="mx_MatrixToolbar_action" onClick={this.onAccept}>
|
||||||
{ _t("Yes please") }
|
{ _t("Yes please") }
|
||||||
|
|||||||
Reference in New Issue
Block a user