Loading admin/website-angular/src/app/@shared/product/categories/categories-table/categories-table.component.ts +1 −4 Original line number Diff line number Diff line Loading @@ -65,10 +65,7 @@ export class CategoriesTableComponent implements OnInit, OnDestroy { private readonly _modalService: NgbModal, private readonly _notifyService: NotifyService, private readonly modalService: NgbModal ) { this._translateService.setDefaultLang('en-US'); this._translateService.use('en-US'); } ) {} get hasSelectedCategories(): boolean { return this._selectedCategories.length > 0; Loading admin/website-angular/src/app/@shared/product/categories/category-create/category-create.component.ts +1 −4 Original line number Diff line number Diff line Loading @@ -28,10 +28,7 @@ export class CategoryCreateComponent implements OnDestroy { private readonly _translateService: TranslateService, private readonly _notifyService: NotifyService, private readonly _productsCategoryService: ProductsCategoryService ) { this._translateService.setDefaultLang('en-US'); this._translateService.use('en-US'); } ) {} ngOnDestroy() { this._ngDestroy$.next(); Loading admin/website-angular/src/app/pages/+device/device.component.ts +0 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,6 @@ export class DeviceComponent implements OnDestroy, OnInit { this._setupDataForSmartTable(); this._listenForEntityLocaleTranslate(); this._applyTranslationOnSmartTable(); this._translateService.setDefaultLang('en-US'); this._translateService.use('en-US'); } // Maybe "updateDevice" this function is not in use?! Loading Loading
admin/website-angular/src/app/@shared/product/categories/categories-table/categories-table.component.ts +1 −4 Original line number Diff line number Diff line Loading @@ -65,10 +65,7 @@ export class CategoriesTableComponent implements OnInit, OnDestroy { private readonly _modalService: NgbModal, private readonly _notifyService: NotifyService, private readonly modalService: NgbModal ) { this._translateService.setDefaultLang('en-US'); this._translateService.use('en-US'); } ) {} get hasSelectedCategories(): boolean { return this._selectedCategories.length > 0; Loading
admin/website-angular/src/app/@shared/product/categories/category-create/category-create.component.ts +1 −4 Original line number Diff line number Diff line Loading @@ -28,10 +28,7 @@ export class CategoryCreateComponent implements OnDestroy { private readonly _translateService: TranslateService, private readonly _notifyService: NotifyService, private readonly _productsCategoryService: ProductsCategoryService ) { this._translateService.setDefaultLang('en-US'); this._translateService.use('en-US'); } ) {} ngOnDestroy() { this._ngDestroy$.next(); Loading
admin/website-angular/src/app/pages/+device/device.component.ts +0 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,6 @@ export class DeviceComponent implements OnDestroy, OnInit { this._setupDataForSmartTable(); this._listenForEntityLocaleTranslate(); this._applyTranslationOnSmartTable(); this._translateService.setDefaultLang('en-US'); this._translateService.use('en-US'); } // Maybe "updateDevice" this function is not in use?! Loading