mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	navigation cleanup
This commit is contained in:
		@@ -17,10 +17,6 @@
 | 
			
		||||
		var item = data.navigation[index],
 | 
			
		||||
			properties = item.properties;
 | 
			
		||||
 | 
			
		||||
		if (!item.enabled) {
 | 
			
		||||
			return false;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (properties) {
 | 
			
		||||
			if (properties.loggedIn && !data.loggedIn ||
 | 
			
		||||
				properties.adminOnly && !data.isAdmin ||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user