Shared money input should respond to change in currency (#654)

* Add step method to currency

* Change amount placeholder and step, when currency select change

* Lint

* Add test with auth

* Extract request to specific service
This commit is contained in:
Thibaut Gorioux
2024-04-20 14:07:06 +02:00
committed by GitHub
parent c46662c99f
commit 5be1ced19e
10 changed files with 63 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
export class CurrenciesService {
get(id) {
return fetch(`/currencies/${id}.json`).then((response) => response.json());
}
}