diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-28 11:02:48 +0200 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-04-08 11:48:28 +0200 |
commit | d80b2ad03898eb798f8c3c95a4c10bd119691e01 (patch) | |
tree | cd98ec3848de4b5eb17e15daddce9b899b44ca16 /webui/src/pages | |
parent | abbed0ff129755386ccbf89409ff8c3877f86d20 (diff) | |
download | git-bug-d80b2ad03898eb798f8c3c95a4c10bd119691e01.tar.gz |
Prevent page reload for redirecting components
Link instantly to:
- NewBugPage
- BackToList
Diffstat (limited to 'webui/src/pages')
-rw-r--r-- | webui/src/pages/list/ListQuery.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webui/src/pages/list/ListQuery.tsx b/webui/src/pages/list/ListQuery.tsx index 4cd75c8d..2b46dca5 100644 --- a/webui/src/pages/list/ListQuery.tsx +++ b/webui/src/pages/list/ListQuery.tsx @@ -369,7 +369,8 @@ function ListQuery() { <Button className={classes.greenButton} variant="contained" - href="/new" + component={Link} + to="/new" > New bug </Button> |