Closed stormofice closed 9 months ago
Name | Link |
---|---|
Latest commit | cb7bec066e6050bee0010e52819a50d529e09dd6 |
Latest deploy log | https://app.netlify.com/sites/mensatt-nuxt/deploys/6516f54950554a0007b58de7 |
Deploy Preview | https://deploy-preview-10--mensatt-nuxt.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Two style changes:
const
instead of let
if the variable doesn't get re-assigned elsewhere which is the case here.a.concat(b) -> [...a, ...b]
Sounds good, should be fixed now 🫡
Thanks! General question, would it make sense to add the new logic to the filters.filterOccurrences() method itself instead of filtering it beforehand? Is there a scenario where we wouldn't want outdated occurrences filtered out?
I had similar thoughts, but worried about how easy it would be to change (for example) the way unavailable dishes are displayed. If we were to go through with the idea of greying them out "in-place" instead of hiding them, it would (currently) not fit that well into the filters.filterOccurrences(..)
function.
That's a good call. Let's keep it as is then 👍 Feel free to merge any time
Unavailable dishes (on a day) should be indicated a bit more intuitively in the future. Hiding them is still fine for now, as the view does get very messy when multiple dishes are replaced on a day.