aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/new/NewBugPage.tsx
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-04-22 14:02:43 +0200
committerSascha <GlancingMind@outlook.com>2021-04-22 14:17:00 +0200
commit774bae6d432c13cfa0de3ddc2f111927743243fe (patch)
tree0c52317767e18f339bec08bfcfe398ecb8bfbc10 /webui/src/pages/new/NewBugPage.tsx
parent41e85023019bc13c06a1de2c431e0bd920e9e29a (diff)
downloadgit-bug-774bae6d432c13cfa0de3ddc2f111927743243fe.tar.gz
Replace occurrences of humanId with the full Id
Unless an ID must be shorted for user convenience, the full id should be used to prevent collisions.
Diffstat (limited to 'webui/src/pages/new/NewBugPage.tsx')
-rw-r--r--webui/src/pages/new/NewBugPage.tsx2
1 files changed, 1 insertions, 1 deletions
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 = '';