mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 02:42:45 +00:00
fix(#83): keep original date when editing a conference
This commit is contained in:
@@ -1548,6 +1548,8 @@ angular
|
||||
.get("/api/conferences/" + $routeParams.conferenceId)
|
||||
.then((res) => {
|
||||
$scope.options = res.data;
|
||||
$scope.options.startDate = new Date($scope.options.startDate);
|
||||
$scope.options.endDate = new Date($scope.options.endDate);
|
||||
});
|
||||
}
|
||||
if ($routeParams.conferenceId) {
|
||||
|
||||
Reference in New Issue
Block a user