Compare commits
No commits in common. "ced4dc88d5e94ca05117b86ad8a38867224fc5e1" and "356ab1fe545c619b6c0ce512f9e356a1411ed886" have entirely different histories.
ced4dc88d5
...
356ab1fe54
2 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@
|
|||
<div class="sm:hidden" :class="{ hidden: !open }">
|
||||
<div class="px-2 pt-2 pb-3 space-y-1">
|
||||
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
|
||||
<router-link
|
||||
<a
|
||||
v-for="{ name, to } in items"
|
||||
:key="name"
|
||||
v-text="name"
|
||||
|
|
|
@ -51,7 +51,7 @@ const routes: RouteRecordRaw[] = [
|
|||
name: "EditAccessPoint",
|
||||
component: CreateAccessPoint,
|
||||
props: (route) => ({
|
||||
apID: Number.parseInt(route.query["ap-id"] as string),
|
||||
apID: Number.parseInt(route.query["site-id"] as string),
|
||||
edit: true,
|
||||
}),
|
||||
},
|
||||
|
@ -61,7 +61,7 @@ const routes: RouteRecordRaw[] = [
|
|||
component: RegisterAccessPoint,
|
||||
props: (route) =>
|
||||
route.query["ap-id"]
|
||||
? { apID: Number.parseInt(route.query["ap-id"] as string) }
|
||||
? { apID: Number.parseInt(route.query["site-id"] as string) }
|
||||
: {},
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue