@@ -82,12 +91,13 @@ async function postComment(comment) {
Apply to join the 17th Rangers
- { postApplication(e) }" class="mb-7">
+ {postApp(e)}" class="mb-7">
- HELLOOO
+
+ Loading
\ No newline at end of file
diff --git a/ui/src/pages/ManageApplications.vue b/ui/src/pages/ManageApplications.vue
index 45fa535..0e71aee 100644
--- a/ui/src/pages/ManageApplications.vue
+++ b/ui/src/pages/ManageApplications.vue
@@ -11,6 +11,7 @@ import {
} from '@/components/ui/table'
import Button from '@/components/ui/button/Button.vue';
import { onMounted, ref } from 'vue';
+import { useRouter } from 'vue-router';
const appList = ref([]);
const now = Date.now();
@@ -57,6 +58,9 @@ async function handleDeny(id) {
appList.value = await getAllApplications();
}
+function openApplication(id) {
+ useRouter().push('/hi')
+}
onMounted(async () => {
appList.value = await getAllApplications();
@@ -69,25 +73,28 @@ onMounted(async () => {