Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isSchedulable and/or isScheduled flags #33

Open
lbebber opened this issue Aug 6, 2018 · 0 comments
Open

Add isSchedulable and/or isScheduled flags #33

lbebber opened this issue Aug 6, 2018 · 0 comments

Comments

@lbebber
Copy link

lbebber commented Aug 6, 2018

Right now it has to be checked on the client like so:

            const isSchedulable =
              selectedSla &&
              selectedSla.availableDeliveryWindows &&
              selectedSla.availableDeliveryWindows.length > 0
            const isScheduled = selectedSla && !!selectedSla.deliveryWindow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant