fix(app): Rename the title property of the uhk-message component (#460)

Renaming eliminate the default behaviour of the title attribute of the
HTML elements.
This commit is contained in:
Róbert Kiss
2017-10-18 01:19:40 +02:00
committed by László Monda
parent f7cdbbb5e0
commit 041d4debb6
5 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
[ngClass]="{'spin-logo': rotateLogo}"
src="assets/images/agent-icon.png"/>
<div class="messages">
<h1> {{ title }} </h1>
<h1> {{ header }} </h1>
<h2> {{ subtitle }} </h2>
</div>
</span>

View File

@@ -7,7 +7,7 @@ import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
changeDetection: ChangeDetectionStrategy.OnPush
})
export class UhkMessageComponent {
@Input() title: string;
@Input() header: string;
@Input() subtitle: string;
@Input() rotateLogo = false;
}