feat: ajout d'une nouvelle route pour les mangas et mise à jour de la Sidebar pour rediriger vers cette route
This commit is contained in:
parent
22cf4eb186
commit
7c7b65128d
@@ -22,7 +22,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useRoute } from 'vue-router';
|
||||
import {
|
||||
BookOpenIcon,
|
||||
PlusIcon,
|
||||
@@ -36,7 +35,6 @@
|
||||
} from '@heroicons/vue/24/solid';
|
||||
import MenuGroup from './sidebar/MenuGroup.vue';
|
||||
|
||||
const route = useRoute();
|
||||
const props = defineProps({
|
||||
isOpen: {
|
||||
type: Boolean,
|
||||
@@ -48,8 +46,8 @@
|
||||
{
|
||||
icon: BookOpenIcon,
|
||||
text: 'Mangas',
|
||||
to: '/',
|
||||
id: 'mangas',
|
||||
to: '/manga',
|
||||
id: 'manga',
|
||||
subItems: [
|
||||
{ icon: PlusIcon.render, text: 'Ajouter un nouveau', to: '/add' },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user