|
|
|
@ -72,7 +72,8 @@ export default {
|
|
|
|
|
id: 4,
|
|
|
|
|
text: "programs",
|
|
|
|
|
link: "programs",
|
|
|
|
|
active: this.$route.name === "programs",
|
|
|
|
|
active:
|
|
|
|
|
this.$route.name === "programs" || this.$route.name === "addProgram",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 5,
|
|
|
|
@ -84,13 +85,14 @@ export default {
|
|
|
|
|
id: 6,
|
|
|
|
|
text: "products",
|
|
|
|
|
link: "products",
|
|
|
|
|
active: this.$route.name === "products",
|
|
|
|
|
active: this.$route.name === "products" || this.$route.name === "addProduct",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: 7,
|
|
|
|
|
text: "workouts",
|
|
|
|
|
link: "workouts",
|
|
|
|
|
active: this.$route.name === "workouts",
|
|
|
|
|
active:
|
|
|
|
|
this.$route.name === "workouts" || this.$route.name === "addWorkout",
|
|
|
|
|
},
|
|
|
|
|
])
|
|
|
|
|
: this.type === "trainer"
|
|
|
|
@ -156,4 +158,4 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
</script>
|
|
|
|
|