mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	Merge remote-tracking branch 'origin/stable'
This commit is contained in:
		
						commit
						1dce96b4c1
					
				@ -58,7 +58,7 @@ table td, table th {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
code, kbd, pre, samp {
 | 
			
		||||
    font-family: var(--monospace-font-family);
 | 
			
		||||
    font-family: var(--monospace-font-family) !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.input-group-text {
 | 
			
		||||
 | 
			
		||||
@ -83,8 +83,12 @@ function findResultsWithExpression(expression, searchContext) {
 | 
			
		||||
                throw new Error(`Can't find note path for note ${JSON.stringify(note.getPojo())}`);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (notePathArray.includes("hidden")) {
 | 
			
		||||
                return null;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            return new SearchResult(notePathArray);
 | 
			
		||||
        });
 | 
			
		||||
        }).filter(Boolean);
 | 
			
		||||
 | 
			
		||||
    for (const res of searchResults) {
 | 
			
		||||
        res.computeScore(searchContext.highlightedTokens);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user