sajjad 3 years ago
parent 5e1118ae59
commit 7de319c786

@ -99,7 +99,9 @@ export default {
text: "workouts",
link: "workouts",
active:
this.$route.name === "workouts" || this.$route.name === "addWorkout"|| this.$route.name === "editWorkout"
this.$route.name === "workouts" ||
this.$route.name === "addWorkout" ||
this.$route.name === "editWorkout",
},
])
: this.role === "trainer"
@ -123,7 +125,9 @@ export default {
active:
this.$route.name === "programs" ||
this.$route.name === "addProgram" ||
this.$route.name === "editProgram",
this.$route.name === "editProgram" ||
this.$route.name === "programSeries" ||
this.$route.name === "workoutsSeries",
},
{
id: 4,

@ -99,7 +99,7 @@ export default [
path: '/trainee-programs',
view: 'TraineePrograms',
name: 'traineePrograms',
meta: { auth: true, roles: ["trainee"] }
},
{
path: '/products',

Loading…
Cancel
Save