Fix rename the methods
This commit is contained in:
@@ -64,6 +64,6 @@ export class AppComponent implements OnInit {
|
|||||||
this.authenticationService.currentUserValue = this.currentUser;
|
this.authenticationService.currentUserValue = this.currentUser;
|
||||||
this.selectedLanguageFlag = event.value;
|
this.selectedLanguageFlag = event.value;
|
||||||
|
|
||||||
this.serviceComm.ForceTranslateTitle();
|
this.serviceComm.forceTranslate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,15 +15,15 @@ export class ServiceComm {
|
|||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
||||||
public UpdatedComponentTitle(title: string) {
|
public updatedComponentTitle(title: string) {
|
||||||
this.componentTitleSource.next(title);
|
this.componentTitleSource.next(title);
|
||||||
}
|
}
|
||||||
|
|
||||||
public RefreshData(refreshAfter: AddAction) {
|
public refreshData(refreshAfter: AddAction) {
|
||||||
this.refreshRequestSource.next(refreshAfter);
|
this.refreshRequestSource.next(refreshAfter);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ForceTranslateTitle() {
|
public forceTranslate() {
|
||||||
this.forceTranslateTitleSource.next(true);
|
this.forceTranslateTitleSource.next(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user