diff options
author | Magnus Hagander | 2020-01-26 10:46:43 +0000 |
---|---|---|
committer | Magnus Hagander | 2020-01-26 15:45:11 +0000 |
commit | 478da36bab59ec12ee3d2ea29aa4f20b794c7e9d (patch) | |
tree | e2bf1168c1874e1f1c7095bbfa21a00005739f92 /postgresqleu/util/docsviews.py | |
parent | 5d28b14369d17af8dc7e6dc3b44c7c76bda188e4 (diff) |
Fix attendee reports crashing on empty list
When there were no stored reports available at all, both the load and
delete buttons would cause a crash. Fix that by both adding defense at
the server side returning a 404 instead of a crash in this case, and by
a client side check to not even try it in this case.
Diffstat (limited to 'postgresqleu/util/docsviews.py')
0 files changed, 0 insertions, 0 deletions