🐛 (transaction) init location to null
This commit is contained in:
@@ -20,5 +20,5 @@ export default interface ITransaction extends IModel {
|
||||
currencies: ICurrency[]
|
||||
exchange: IExchange | null
|
||||
tag: TransactionTag
|
||||
location?: ILocation
|
||||
location?: ILocation | null
|
||||
}
|
||||
|
||||
@@ -32,11 +32,7 @@ class TransactionService {
|
||||
tag: TransactionTag.None,
|
||||
transactionType: TransactionType.normal,
|
||||
exchange: null,
|
||||
location: {
|
||||
lat: 0,
|
||||
lon: 0,
|
||||
place: ''
|
||||
}
|
||||
location: null
|
||||
}
|
||||
return transaction
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user