Closed Tschonti closed 2 months ago
If you open the periods page, application-periods/0 is also called alongside application-periods. No idea why, but it could be fixed by checking the ID the swr hook and only enabling it if it's a valid id.
application-periods/0
application-periods
KIR-54 period with the id of 0 is fetched on periods page
Good spot, it should be fixed now. It had to do with preloading the dialogs for period editing, and having a default 0 there as fallback.
If you open the periods page,
application-periods/0
is also called alongsideapplication-periods
. No idea why, but it could be fixed by checking the ID the swr hook and only enabling it if it's a valid id.