git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
f96bdcd
)
Make note route title param optional
author
Adam Dullage
<redacted>
Tue, 30 Apr 2024 19:32:25 +0000
(20:32 +0100)
committer
Adam Dullage
<redacted>
Tue, 30 Apr 2024 19:32:25 +0000
(20:32 +0100)
client/router.js
patch
|
blob
|
history
diff --git
a/client/router.js
b/client/router.js
index 16649af8607f08f6ea008763a96afe027cdff431..978318e40375d6855f6f7eaa845533e27176480d 100644
(file)
--- a/
client/router.js
+++ b/
client/router.js
@@
-17,7
+17,7
@@
const router = createRouter({
props: (route) => ({ redirect: route.query[constants.params.redirect] }),
\r
},
\r
{
\r
- path: "/note/:title",
\r
+ path: "/note/:title
?
",
\r
name: "note",
\r
component: () => import("./views/Note.vue"),
\r
props: true,
\r
git clone https://git.99rst.org/PROJECT