Skip to content

Commit

Permalink
chore: fix JS-0045
Browse files Browse the repository at this point in the history
  • Loading branch information
EDM115 committed Jun 12, 2024
1 parent bbffc4b commit 411a8c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages/admin/gestion-admin/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ onMounted(async () => {
if (response) {
if (response.body[0].ReadListAdmin !== 1) {
return router.push("/admin/dashboard")
router.push("/admin/dashboard")
}
} else {
console.error("Error getPermAdmin:", response.statusText)
Expand Down
2 changes: 1 addition & 1 deletion pages/admin/gestion-crenaux/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ onMounted(async () => {
if (response) {
if (response.body[0].ReadListSeance !== 1) {
return router.push("/admin/dashboard")
router.push("/admin/dashboard")
}
} else {
console.error("Error getPermAdmin:", response.statusText)
Expand Down
2 changes: 1 addition & 1 deletion pages/admin/gestion-utilisateur/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ onMounted(async () => {
if (response) {
if (response.body[0].ReadListUtilisateur !== 1) {
return router.push("/admin/dashboard")
router.push("/admin/dashboard")
}
} else {
console.error("Error getPermAdmin:", response.statusText)
Expand Down
2 changes: 1 addition & 1 deletion pages/admin/liste-grimpeurs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ onMounted(async () => {
if (response) {
if (response.body[0].ReadListGrimpeur !== 1) {
return router.push("/admin/dashboard")
router.push("/admin/dashboard")
}
} else {
console.error("Error getPermAdmin:", response.statusText)
Expand Down

0 comments on commit 411a8c0

Please sign in to comment.