mirror of
https://github.com/corda/corda.git
synced 2025-04-16 07:27:17 +00:00
Review fix.
This commit is contained in:
parent
969ec62858
commit
1e21dca4fc
@ -11,7 +11,11 @@ define(['angular', 'utils/semantic', 'services/NodeApi'], (angular, semantic, no
|
||||
$scope.infoMsg = "";
|
||||
$scope.errorText = "";
|
||||
$scope.date = { "year": "...", "month": "...", "day": "..." };
|
||||
$scope.updateDate = (type) => { nodeService.updateDate(type).then((newDate) => {$scope.date = newDate}, handleHttpFail); };
|
||||
$scope.updateDate = (type) => {
|
||||
nodeService.updateDate(type).then((newDate) => {
|
||||
$scope.date = newDate
|
||||
}, handleHttpFail);
|
||||
};
|
||||
|
||||
nodeService.getDate().then((date) => $scope.date = date);
|
||||
nodeService.getDeals().then((deals) => $scope.deals = deals);
|
||||
|
Loading…
x
Reference in New Issue
Block a user