mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 18:41:08 +00:00
Catch undefined var
This commit is contained in:
@@ -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
Reference in New Issue
Block a user