This commit is contained in:
@@ -106,8 +106,13 @@ export class BotSettingsComponent implements OnInit {
|
||||
}
|
||||
|
||||
setCronString() {
|
||||
let val = this.cronForm.value
|
||||
if(val === null) {
|
||||
val = "";
|
||||
}
|
||||
|
||||
this.profileService
|
||||
.addCronString(this.cronForm.value)
|
||||
.addCronString(val)
|
||||
.subscribe((result) => {
|
||||
console.log(result);
|
||||
});
|
||||
|
Reference in New Issue
Block a user