mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	chore(react/collections/table): fix type error
This commit is contained in:
		
							parent
							
								
									3789edf53a
								
							
						
					
					
						commit
						cb959e93f2
					
				@ -95,10 +95,6 @@ export function buildColumnDefinitions({ info, movableRows, existingColumnData,
 | 
			
		||||
            editor: "input",
 | 
			
		||||
            formatter: wrapFormatter(({ cell }) => {
 | 
			
		||||
                const { noteId, iconClass, colorClass } = cell.getRow().getData();
 | 
			
		||||
                if (!noteId) {
 | 
			
		||||
                    return "";
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                return <span className={`reference-link ${colorClass}`} data-href={`#root/${noteId}`}>
 | 
			
		||||
                    <Icon icon={iconClass} />{" "}{cell.getValue()}
 | 
			
		||||
                </span>;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user