Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Use configurable github issue links more consistently #11796

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/views/dialogs/BugReportDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/elements/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/rooms/RoomPreviewBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
Expand Down