How to use if condition for slots value filtration and apply condition based on filter

I would like to filter the value in search results based on one of the value of Search filter data, hence let me know the way to resolve an issue

I would like to filter the Design Component for that only I would like to keep hyper link, hence please let me know the correct code, the below code I couldn’t able to resolve an issue Under.
The below I wrote under Managed card fields section of Tags Name
#if (slot item @root.slots.Tags=“Design Component”)
put a redirection link to the Hyper link “View SnapShot”