Pull request: fix schedule timezone

Updates #6401

Squashed commit of the following:

commit 0ed83fd52fe8cf9bd5a8d438e81534799a7fdd83
Author: Ildar Kamalov <ik@adguard.com>
Date:   Fri Nov 10 16:09:04 2023 +0300

    ADG-7720 fix schedule timezone
This commit is contained in:
Ildar Kamalov
2023-11-10 17:04:56 +03:00
parent 53170d8711
commit 4b9947da88
2 changed files with 6 additions and 0 deletions

View File

@@ -81,6 +81,10 @@ export const Modal = ({
};
});
if (timezone !== intialTimezone) {
newSchedule.time_zone = timezone;
}
onSubmit(newSchedule);
};