🐛 (transaction) init location to null

This commit is contained in:
2020-08-25 21:36:11 +02:00
parent f4f54a0b33
commit 35530ab264
2 changed files with 2 additions and 6 deletions

View File

@@ -20,5 +20,5 @@ export default interface ITransaction extends IModel {
currencies: ICurrency[]
exchange: IExchange | null
tag: TransactionTag
location?: ILocation
location?: ILocation | null
}

View File

@@ -32,11 +32,7 @@ class TransactionService {
tag: TransactionTag.None,
transactionType: TransactionType.normal,
exchange: null,
location: {
lat: 0,
lon: 0,
place: ''
}
location: null
}
return transaction
}