Fix condition of noteSearchableScope (#14325)
This commit is contained in:
		
							parent
							
								
									6bd46e790b
								
							
						
					
					
						commit
						b359e3c95b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -128,7 +128,7 @@ export class MetaEntityService {
 | 
			
		|||
 | 
			
		||||
			mediaProxy: this.config.mediaProxy,
 | 
			
		||||
			enableUrlPreview: instance.urlPreviewEnabled,
 | 
			
		||||
			noteSearchableScope: this.config.meilisearch == null || this.config.meilisearch.scope === 'local' ? 'local' : 'global',
 | 
			
		||||
			noteSearchableScope: (this.config.meilisearch == null || this.config.meilisearch.scope !== 'local') ? 'global' : 'local',
 | 
			
		||||
		};
 | 
			
		||||
 | 
			
		||||
		return packed;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue