Fix build
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
				
			This commit is contained in:
		| @@ -1,11 +1,10 @@ | |||||||
| import { Injectable } from '@angular/core'; | import { Injectable, isDevMode } from '@angular/core'; | ||||||
| import { environment } from '@environment/environment'; |  | ||||||
|  |  | ||||||
| @Injectable({ | @Injectable({ | ||||||
|   providedIn: 'root', |   providedIn: 'root', | ||||||
| }) | }) | ||||||
| export class ProductionGuard { | export class ProductionGuard { | ||||||
|   canActivate(): boolean { |   canActivate(): boolean { | ||||||
|     return environment.production; |     return !isDevMode(); | ||||||
|   }  |   }  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -34,9 +34,6 @@ | |||||||
|       ], |       ], | ||||||
|       "ngx-openlayers/*": [ |       "ngx-openlayers/*": [ | ||||||
|         "dist/ngx-openlayers/*" |         "dist/ngx-openlayers/*" | ||||||
|       ], |  | ||||||
|       "@environment/*": [ |  | ||||||
|         "src/environments/*" |  | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|     "useDefineForClassFields": false |     "useDefineForClassFields": false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user