[view] view middle should not present if only a directory view is matched