Fix amount input
This commit is contained in:
@@ -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({
|
||||
|
Reference in New Issue
Block a user