RM 1.1 Show categories only if resources are present


I am newly building RM with resources. I have about 40 categories but resources only in 12 so far. I would like to show only those 12 and as resources get added to other categories, those categories will automatically show.

Basically, need a conditional statement

show Category list if resource is present.

Greatly appreciate your help!