Show the version of the current build, distinguishing between
development and production builds. The layout needs to be refined, it's still quite ugly as of now.
This commit is contained in:
		
							parent
							
								
									ba2d6032ea
								
							
						
					
					
						commit
						3edcbf0918
					
				
					 5 changed files with 10 additions and 3 deletions
				
			
		|  | @ -14,4 +14,5 @@ | |||
|   </div> | ||||
|   <div class="errormessage" *ngIf="step.error" [innerHTML]="step.message"></div> | ||||
| </div> | ||||
| <span>Version: {{VERSION}}</span> | ||||
| <!--<router-outlet></router-outlet>--> | ||||
|  |  | |||
|  | @ -3,6 +3,7 @@ import {ConverterRegistryService} from './converterregistry.service'; | |||
| import {InputComponentManagerService} from './inputcomponentmanager.service'; | ||||
| import {Step} from './step'; | ||||
| import {Converter} from './converter/converter'; | ||||
| import {environment} from '../environments/environment'; | ||||
| 
 | ||||
| @Component({ | ||||
|   selector: 'app-root', | ||||
|  | @ -10,6 +11,7 @@ import {Converter} from './converter/converter'; | |||
|   styleUrls: ['./app.component.scss'] | ||||
| }) | ||||
| export class AppComponent implements OnInit { | ||||
|   public readonly VERSION: string = environment.appVersion; | ||||
|   public steps: Step[] = []; | ||||
|   public converters: Converter[] = []; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue