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>
This commit is contained in:
parent
4ff35f0471
commit
5e8d2748e0
3 changed files with 4 additions and 3 deletions
|
@ -233,7 +233,8 @@ export default class BugReportDialog extends React.Component<IProps, IState> {
|
|||
a: (sub) => (
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://github.com/vector-im/element-web/issues/new/choose"
|
||||
href={SdkConfig.get().feedback.new_issue_url}
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
{sub}
|
||||
</a>
|
||||
|
|
|
@ -77,7 +77,7 @@ export default class ErrorBoundary extends React.PureComponent<Props, IState> {
|
|||
|
||||
public render(): ReactNode {
|
||||
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;
|
||||
if (SdkConfig.get().bug_report_endpoint_url) {
|
||||
|
|
|
@ -599,7 +599,7 @@ export default class RoomPreviewBar extends React.Component<IProps, IState> {
|
|||
{
|
||||
issueLink: (label) => (
|
||||
<a
|
||||
href="https://github.com/vector-im/element-web/issues/new/choose"
|
||||
href={SdkConfig.get().feedback.new_issue_url}
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue