Plugin crashes on switching to activity tab

How to replicate

Update payments with at least one channel having been gifted memberships. Open updated overview and switch to Activity view. The membership gift may need to be the first payment of the day with other superchats on the same day for things to go wrong.

Observed behavior

Activity view will remain blank and user can't switch back to table view unless they close and reopen the pop-up.

Expected behavior

Switching to the activity view should show the activity chart.

Edited by dasBente