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