aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/new
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/pages/new')
-rw-r--r--webui/src/pages/new/NewBug.graphql4
-rw-r--r--webui/src/pages/new/NewBugPage.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/webui/src/pages/new/NewBug.graphql b/webui/src/pages/new/NewBug.graphql
index 92df016e..ef024e41 100644
--- a/webui/src/pages/new/NewBug.graphql
+++ b/webui/src/pages/new/NewBug.graphql
@@ -1,7 +1,7 @@
mutation newBug($input: NewBugInput!) {
newBug(input: $input) {
bug {
- humanId
+ id
}
}
-} \ No newline at end of file
+}
diff --git a/webui/src/pages/new/NewBugPage.tsx b/webui/src/pages/new/NewBugPage.tsx
index 4dc60e3c..cdec3558 100644
--- a/webui/src/pages/new/NewBugPage.tsx
+++ b/webui/src/pages/new/NewBugPage.tsx
@@ -62,7 +62,7 @@ function NewBugPage() {
},
},
}).then(function (data) {
- const id = data.data?.newBug.bug.humanId;
+ const id = data.data?.newBug.bug.id;
history.push('/bug/' + id);
});
issueTitleInput.value = '';