Since 2018, I've deducted business use of vehicle in CA while claiming the Federal standard deduction. Disposal is triggering a gain on Fed return and should not. Why?

Vehicle costs at standard mileage rate as unreimbursed expenses as employee (not deductible on Federal return so nothing claimed). How do I zero out for Federal while still reporting appropriately to the State?