Use configurable github issue links more consistently (#11796)
* Use configurable github issue links more consistently Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add `rel="noreferrer noopener"` Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28788/head^2
parent
4ff35f0471
commit
5e8d2748e0
|
@ -233,7 +233,8 @@ export default class BugReportDialog extends React.Component<IProps, IState> {
|
||||||
a: (sub) => (
|
a: (sub) => (
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href="https://github.com/vector-im/element-web/issues/new/choose"
|
href={SdkConfig.get().feedback.new_issue_url}
|
||||||
|
rel="noreferrer noopener"
|
||||||
>
|
>
|
||||||
{sub}
|
{sub}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -77,7 +77,7 @@ export default class ErrorBoundary extends React.PureComponent<Props, IState> {
|
||||||
|
|
||||||
public render(): ReactNode {
|
public render(): ReactNode {
|
||||||
if (this.state.error) {
|
if (this.state.error) {
|
||||||
const newIssueUrl = "https://github.com/vector-im/element-web/issues/new/choose";
|
const newIssueUrl = SdkConfig.get().feedback.new_issue_url;
|
||||||
|
|
||||||
let bugReportSection;
|
let bugReportSection;
|
||||||
if (SdkConfig.get().bug_report_endpoint_url) {
|
if (SdkConfig.get().bug_report_endpoint_url) {
|
||||||
|
|
|
@ -599,7 +599,7 @@ export default class RoomPreviewBar extends React.Component<IProps, IState> {
|
||||||
{
|
{
|
||||||
issueLink: (label) => (
|
issueLink: (label) => (
|
||||||
<a
|
<a
|
||||||
href="https://github.com/vector-im/element-web/issues/new/choose"
|
href={SdkConfig.get().feedback.new_issue_url}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue