|  | @@ -1719,7 +1719,7 @@ const treeFilter = {
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          data[options.table] = fData.filter(x => {
 | 
	
		
			
				|  |  | -            const match = self._checkPath(matchPath, x.full_path);
 | 
	
		
			
				|  |  | +            const match = self._checkPath(matchPath, x.full_path) && (options.subType === 'leaf' ? x.is_leaf : true);
 | 
	
		
			
				|  |  |              return options.type === 'match' ? match : !match;
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |      },
 |