reparied application recruter view
This commit is contained in:
@@ -61,7 +61,7 @@ async function handleDeny(id) {
|
|||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
function openApplication(id) {
|
function openApplication(id) {
|
||||||
router.push(`/applications/${id}`)
|
router.push(`./application/${id}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ const router = createRouter({
|
|||||||
meta: { requiresAuth: true, memberOnly: true, roles: ['staff', 'admin'] },
|
meta: { requiresAuth: true, memberOnly: true, roles: ['staff', 'admin'] },
|
||||||
children: [
|
children: [
|
||||||
{ path: 'applications', component: () => import('@/pages/ManageApplications.vue') },
|
{ path: 'applications', component: () => import('@/pages/ManageApplications.vue') },
|
||||||
|
{ path: 'application/:id', component: () => import('@/pages/Application.vue') },
|
||||||
{ path: 'rankChange', component: () => import('@/pages/RankChange.vue') },
|
{ path: 'rankChange', component: () => import('@/pages/RankChange.vue') },
|
||||||
{ path: 'applications/:id', component: () => import('@/pages/Application.vue') },
|
{ path: 'applications/:id', component: () => import('@/pages/Application.vue') },
|
||||||
{ path: 'transfer', component: () => import('@/pages/ManageTransfers.vue') },
|
{ path: 'transfer', component: () => import('@/pages/ManageTransfers.vue') },
|
||||||
|
|||||||
Reference in New Issue
Block a user