🎨 (app) no margin to main components
This commit is contained in:
@@ -226,13 +226,13 @@ export default class TransactionCreate extends Vue {
|
||||
this.currency = transaction.mainCurrency
|
||||
}
|
||||
|
||||
public async submitTransaction(next: any): Promise<void> {
|
||||
public async submitTransaction(finish: () => void): Promise<void> {
|
||||
if (!this.validate()) {
|
||||
next()
|
||||
finish()
|
||||
return
|
||||
}
|
||||
if (!this.currency || !this.account) {
|
||||
next()
|
||||
finish()
|
||||
return
|
||||
}
|
||||
const currencies: string[] = this.account.currencies.map(
|
||||
@@ -282,7 +282,7 @@ export default class TransactionCreate extends Vue {
|
||||
console.warn(response)
|
||||
alertMessage(`Une erreur s'est produite à la création d'une transaction.`)
|
||||
}
|
||||
next()
|
||||
finish()
|
||||
}
|
||||
|
||||
public selectAll(): void {
|
||||
|
||||
Reference in New Issue
Block a user