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 },