1
0
Fork 0
mirror of synced 2024-07-08 15:56:23 +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("/")) { if (!event.detail.startsWith("/")) {
route = "/" + event.detail route = "/" + event.detail
} }
route = route.replaceAll(" ", "_") route = route.replaceAll(" ", "-")
} }
</script> </script>

View file

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