1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

implement review comments

This commit is contained in:
Maurits Lourens 2021-08-05 20:03:54 +02:00
parent 8ec5e7f8ce
commit fe3b81e72d
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@
if (!event.detail.startsWith("/")) {
route = "/" + event.detail
}
route = route.replaceAll(" ", "_")
route = route.replaceAll(" ", "-")
}
</script>

View file

@ -36,7 +36,7 @@
key: "routing.route",
label: "Route",
control: Input,
parser: val => val.replaceAll(" ", "_"),
parser: val => val.replaceAll(" ", "-"),
},
{ key: "routing.roleId", label: "Access", control: RoleSelect },
{ key: "layoutId", label: "Layout", control: LayoutSelect },