fix true/false flip on edit task enable/disable

This commit is contained in:
Andrew 2022-01-11 19:12:54 -05:00
parent 68e22de069
commit f681e5d69d

View File

@ -209,7 +209,7 @@ try{
if("{{ data['schedule']['enabled'] }}" == 'True'){
document.getElementById('enabled').checked = true;
}else{
document.getElementById('enabled').checked = true;
document.getElementById('enabled').checked = false;
}
if("{{ data['schedule']['one_time'] }}" == 'True'){
document.getElementById('one_time').checked = true;