Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

google-calendar-busy-now shows 'n/a' #22

Open
benhjt opened this issue Jul 6, 2016 · 0 comments
Open

google-calendar-busy-now shows 'n/a' #22

benhjt opened this issue Jul 6, 2016 · 0 comments

Comments

@benhjt
Copy link
Contributor

benhjt commented Jul 6, 2016

I have set up the google-calendar-busy-now element to point to a calendar. If there are no items in the calendar that day it shows 'n/a' rather than 'I'm free'.

This is because the query that is executed does not return any busyTimes and does not override the 'n/a' label which is set before the user is authorised. In this case, I would have expected it to display 'I'm free' as there are no events within the query time frame.

I'm happy to try a pull-request for this if this behaviour is agreed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant