[fix][#32702] Regression - Menu type does not display components when
they have directories that contain 'view' in the directory name  (Fix
#32702)