Skip to content

Commit

Permalink
Fix empty cancellations table layout (#3549)
Browse files Browse the repository at this point in the history
The tablesorter initialization was crashing for talbes without payment thing.
  • Loading branch information
DeD1rk authored Dec 24, 2023
1 parent 1848ac8 commit de869c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/events/static/events/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ django.jQuery(function () {
return false;
},
format: function(s, t, node) {
const val = node.firstElementChild.value;
const val = node.firstElementChild?.value;
if (val === 'no_payment') {
return 'z';
}
Expand Down

0 comments on commit de869c0

Please sign in to comment.