mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-26 02:40:43 -06:00
Catch undefined var
This commit is contained in:
parent
8e42f25a1e
commit
b0ac0ea0cf
@ -448,7 +448,7 @@ export default {
|
||||
|
||||
// show message, redirect.
|
||||
if (false === this.createAnother) {
|
||||
window.location.href = window.previousURL + '?transaction_group_id=' + this.groupId + '&message=created';
|
||||
window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=created';
|
||||
return;
|
||||
}
|
||||
// render msg:
|
||||
|
2
public/v2/js/transactions/create.js
vendored
2
public/v2/js/transactions/create.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user