add spaces
This commit is contained in:
@@ -165,7 +165,7 @@ const createTransaction = async () => {
|
||||
editedTransaction.value.isDone = true;
|
||||
}
|
||||
await createTransactionRequest(editedTransaction.value).then((result) => {
|
||||
console.log("hereeeee");
|
||||
|
||||
toast.add({severity: 'success', summary: 'Transaction created!', detail: 'Транзакция создана!', life: 3000});
|
||||
emit('create-transaction', editedTransaction.value);
|
||||
computeResult(true)
|
||||
@@ -266,9 +266,9 @@ onMounted(async () => {
|
||||
|
||||
prepareData();
|
||||
|
||||
console.log("is editing " + !isEditing.value)
|
||||
|
||||
if ( !isEditing.value) {
|
||||
console.log("here blyat")
|
||||
|
||||
await getTransactions('INSTANT', 'EXPENSE',null, user.value.id, false, 3 )
|
||||
.then(transactionsResponse => transactions.value = transactionsResponse.data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user