upadte for date selector

This commit is contained in:
Mohamed Nouffer
2021-09-02 13:35:38 +05:30
parent 3458a4517b
commit fc05d8ea68
8 changed files with 15 additions and 12 deletions

View File

@ -120,6 +120,9 @@ function Index() {
}
const checkAvilable = (date) => {
if(validDates === undefined){
return false;
}
var thisDate = getDateWithFormat(date);
if(validDates.includes(thisDate)){
return true;