Merge pull request #6657 from SimonBrandner/fix/issue-link
Send the user to `/choose` to let them choose an issue type
This commit is contained in:
commit
d15ef70c33
3 changed files with 3 additions and 3 deletions
|
@ -215,7 +215,7 @@ export default class BugReportDialog extends React.Component<IProps, IState> {
|
||||||
{
|
{
|
||||||
a: (sub) => <a
|
a: (sub) => <a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href="https://github.com/vector-im/element-web/issues/new"
|
href="https://github.com/vector-im/element-web/issues/new/choose"
|
||||||
>
|
>
|
||||||
{ sub }
|
{ sub }
|
||||||
</a>,
|
</a>,
|
||||||
|
|
|
@ -28,7 +28,7 @@ import StyledRadioGroup from "../elements/StyledRadioGroup";
|
||||||
|
|
||||||
const existingIssuesUrl = "https://github.com/vector-im/element-web/issues" +
|
const existingIssuesUrl = "https://github.com/vector-im/element-web/issues" +
|
||||||
"?q=is%3Aopen+is%3Aissue+sort%3Areactions-%2B1-desc";
|
"?q=is%3Aopen+is%3Aissue+sort%3Areactions-%2B1-desc";
|
||||||
const newIssueUrl = "https://github.com/vector-im/element-web/issues/new";
|
const newIssueUrl = "https://github.com/vector-im/element-web/issues/new/choose";
|
||||||
|
|
||||||
export default (props) => {
|
export default (props) => {
|
||||||
const [rating, setRating] = useState("");
|
const [rating, setRating] = useState("");
|
||||||
|
|
|
@ -77,7 +77,7 @@ export default class ErrorBoundary extends React.PureComponent<{}, IState> {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
if (this.state.error) {
|
if (this.state.error) {
|
||||||
const newIssueUrl = "https://github.com/vector-im/element-web/issues/new";
|
const newIssueUrl = "https://github.com/vector-im/element-web/issues/new/choose";
|
||||||
|
|
||||||
let bugReportSection;
|
let bugReportSection;
|
||||||
if (SdkConfig.get().bug_report_endpoint_url) {
|
if (SdkConfig.get().bug_report_endpoint_url) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue