mirror of
https://github.com/mempool/mempool.git
synced 2025-09-27 22:57:07 +02:00
Calculator default value
This commit is contained in:
@@ -86,6 +86,8 @@ export class CalculatorComponent implements OnInit {
|
|||||||
this.form.get('bitcoin').setValue(bitcoinRate, { emitEvent: false });
|
this.form.get('bitcoin').setValue(bitcoinRate, { emitEvent: false });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Default form with 1 BTC
|
||||||
|
this.form.get('bitcoin').setValue(1, { emitEvent: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
transformInput(name: string): void {
|
transformInput(name: string): void {
|
||||||
|
Reference in New Issue
Block a user