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:
committed by
László Monda
parent
f7cdbbb5e0
commit
041d4debb6
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user