fix: amount not to be fixed value
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<mw-title-bar-base-money [amount]="15000">
|
<mw-title-bar-base-money [amount]="amount()">
|
||||||
<div class="title-bar-date">
|
<div class="title-bar-date">
|
||||||
<div>
|
<div>
|
||||||
<mw-typography
|
<mw-typography
|
||||||
|
|||||||
@@ -11,5 +11,12 @@ import { TypographyComponent } from '../../atoms/typography/typography.component
|
|||||||
styleUrl: './title-bar-date.component.css'
|
styleUrl: './title-bar-date.component.css'
|
||||||
})
|
})
|
||||||
export class TitleBarDateComponent {
|
export class TitleBarDateComponent {
|
||||||
date = input(new Date())
|
/**
|
||||||
|
* @description Title (group) amount
|
||||||
|
*/
|
||||||
|
amount = input(0);
|
||||||
|
/**
|
||||||
|
* @description Title (group) date
|
||||||
|
*/
|
||||||
|
date = input(new Date());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user