Show or hide an ais-toggle-refinement depending on a previous facet selection

Hi, I have an index for vehicles.
And I have 3 facets configured, group, type and certified.
This last one is a boolean.

Group can be: cars, boats.
Type can be: new, used.

I need to show the certified filter, as a ais-toggle-refinement, only if the facet type is setted to ‘used’

I’m using vue instant search

Can anyone give me a hand with this. I tried to use ais-state-results but without success.