upadte for date selector
This commit is contained in:
@ -120,6 +120,9 @@ function Index() {
|
||||
}
|
||||
|
||||
const checkAvilable = (date) => {
|
||||
if(validDates === undefined){
|
||||
return false;
|
||||
}
|
||||
var thisDate = getDateWithFormat(date);
|
||||
if(validDates.includes(thisDate)){
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user