add the functional boolean to the calculated available hardware. so it subtracts the non-functional availability = available - non-functional functional = functional - non-functional most of this should be on the vue side, in hardwarePage.vue