Skip to content

Commit

Permalink
add the route in the panel
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptTF committed Apr 26, 2024
1 parent f69c43b commit f801ab0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions frontend/src/lib/components/panel/modules.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
color: 'bg-green-600',
link: '/panel/products/incoherants'
});
modules.push({
name: 'Fournisseur',
color: 'bg-green-600',
link: '/panel/products/fournisseur'
})
modules.push({
name: "Course",
color: "bg-green-600",
link: '/panel/products/course'
})
// Sort the modules by name
modules.sort((a, b) => a.name.localeCompare(b.name));
Expand Down
1 change: 0 additions & 1 deletion frontend/src/routes/panel/products/course/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
items = [];
}
});
console.log(items);
}
reloadCourse()
</script>
Expand Down

0 comments on commit f801ab0

Please sign in to comment.