Show Hide doing something strange

Not sure if this is a bug or just me being silly, hopefully someone can confirm.

<div class="text-right col-6"
    dmx-show="(scViewItinerariesDetail.data.repeat_records_accom_acts_in_days[$index].query_available_accom.count() < 4 && scViewItinerariesDetail.data.repeat_records_accom_acts_in_days[$index].query_available_act.count() > 0)"
    dmx-hide="(scViewItinerariesDetail.data.repeat_records_accom_acts_in_days[$index].query_available_accom.count() == 3 && scViewItinerariesDetail.data.repeat_records_accom_acts_in_days[$index].query_available_act.count() > 1)">...EXPLORE
</div>

If i remove either the show or the hide then it works, so maybe I can not use show and hide on the same element?

My query is returning a count of 1 for query_available_accom and 1 for query_available_act
So in my head the …EXPLORE word should be showing, or am I not seeing something silly here.

Community Page
Last updated: