Merged PR 48: #41 fix router

#41 fix router

Related work items: #41
This commit is contained in:
Dominic Villemure
2024-05-10 02:43:45 +00:00

View File

@@ -35,7 +35,7 @@
<v-card-actions class="justify-center"> <v-card-actions class="justify-center">
<v-btn color="white" outlined elevation="2" <v-btn color="white" outlined elevation="2"
style="font-size: 2rem; width: 250px; height: 50px; margin-bottom: 25px; background-color: #a30e79;" style="font-size: 2rem; width: 250px; height: 50px; margin-bottom: 25px; background-color: #a30e79;"
@click="this.$router.push({ path: '/' })">Ok</v-btn> @click="router.push({ path: '/' })">Ok</v-btn>
</v-card-actions> </v-card-actions>
</v-col> </v-col>
</v-row> </v-row>
@@ -53,6 +53,9 @@
<script setup> <script setup>
import DefaultLayout from '@/layouts/DefaultLayout.vue'; import DefaultLayout from '@/layouts/DefaultLayout.vue';
import FooterLayout from '@/layouts/FooterLayout.vue'; import FooterLayout from '@/layouts/FooterLayout.vue';
import { useRouter } from 'vue-router';
const router = useRouter()
</script> </script>
<style scoped> <style scoped>