Both these conditional sentences are grammatical:
If I bought that apartment, we'd have a place to party whenever we wish.
If I bought that apartment, we'd have a place to party whenever we wished.
Is there a slight difference in meaning between wish and wished though? Does the preterite form signal a reduced likelihood? Or does it simply comply to the overall "past tense" of the apodosis?