mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-07 06:08:06 +02: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)
|
.get("/api/conferences/" + $routeParams.conferenceId)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
$scope.options = res.data;
|
$scope.options = res.data;
|
||||||
|
$scope.options.startDate = new Date($scope.options.startDate);
|
||||||
|
$scope.options.endDate = new Date($scope.options.endDate);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if ($routeParams.conferenceId) {
|
if ($routeParams.conferenceId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user