Some facilities do no provide totalKuota and sisaKuota data on their schedules, which causes our recent build failures.
For reference, this applies to this popover. We should add a case so that we can show an "invalid" screen when the Kuota data from each schedule time is missing.
Expected Behaviour
The schedule popover should correctly handle the case when no Kuota data is available.
Additional Information
Tweet(s) from @k1m0ch1:
are you using the key jadwal.waktu.kuota.sisaKuota ? it still alive, but I see a new key in here the "kuota" key from jaki
I assume some location does not have a "waktu" key or "kuota" key thats why the sisaKuota is error, I think you need to add the handler to check the existence of "waktu" and/or "kuota" key
Description
Some facilities do no provide
totalKuota
andsisaKuota
data on their schedules, which causes our recent build failures.For reference, this applies to this popover. We should add a case so that we can show an "invalid" screen when the Kuota data from each schedule time is missing.
Expected Behaviour
The schedule popover should correctly handle the case when no Kuota data is available.
Additional Information
Tweet(s) from @k1m0ch1:
https://twitter.com/BukanYahya/status/1415538234881318912
https://twitter.com/BukanYahya/status/1415540609922723842