mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-08 01:11:07 +02:00
fix(#83): keep original date when editing a conference
This commit is contained in:
1 parent
728780675f
commit
c802c68523
1 file changed
+2
@@ -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