Affichage du titre des pages dans la navigation
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ServiceComm } from '../../services/serviceComm';
|
||||
|
||||
@Component({
|
||||
selector: 'app-new-jump',
|
||||
@@ -7,9 +8,10 @@ import { Component, OnInit } from '@angular/core';
|
||||
})
|
||||
export class NewJumpComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
constructor(private serviceComm: ServiceComm) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.serviceComm.updatedComponentTitle('Add a new jump');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user