import { Component , Injector , ViewEncapsulation } from '@angular/core' ; import { AppComponentBase } from '@shared/component-base' ; @ Component ( { templateUrl : './sidebar-footer.component.html' , selector : 'sidebar-footer' , encapsulation : ViewEncapsulation . None } ) export class SideBarFooterComponent extends AppComponentBase { versionText : string ; currentYear : number ; constructor ( injector ) { super ( injector ) ; this . currentYear = new Date ( ) . getFullYear ( ) ; this . versionText = this . appSession . application . version + ' [' + this . appSession . application . releaseDate . format ( 'YYYYDDMM' ) + ']' ; } }