I'm having difficulty setting conditions for breakpoints in Vue/Vuetify
Essentially, I want to specify that if the array's length is divisible by 2, then the MD value should be 6, and if it's divisible by 3, then MD should be 12
<v-col cols="12"
:md="module.plannings.length % 2 === 0 ? 6 : module.plannings.length % 3 === 0 ? 12 : 12"
v-for="planning in module.plannings"
:key="planning.id"
>
I seem to be approaching this incorrectly... what would be the proper syntax to achieve this?