Affichage du titre des pages dans la navigation

This commit is contained in:
Sébastien André
2019-10-09 17:13:53 +02:00
parent dd26e2c90b
commit ada8b6b72d
8 changed files with 29 additions and 6 deletions

View File

@@ -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');
}
}