Fix amount input

This commit is contained in:
2025-05-14 18:53:03 +02:00
parent 0d30a8135c
commit 7c1cd96691
2 changed files with 7 additions and 2 deletions

View File

@@ -52,6 +52,11 @@ export function NewMovementWidget(
return;
}
if (!amount && !p.isInbox) {
alert(`Please specify ${entity} amount!`);
return;
}
try {
if (!p.isInbox) {
await MovementApi.Create({