mirror of
https://github.com/mempool/mempool.git
synced 2025-09-25 18:21:52 +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 });
|
||||
});
|
||||
|
||||
// Default form with 1 BTC
|
||||
this.form.get('bitcoin').setValue(1, { emitEvent: true });
|
||||
}
|
||||
|
||||
transformInput(name: string): void {
|
||||
|
Reference in New Issue
Block a user